MonobjcMonobjc Documented Class Library
GetCyanMagentaYellowBlackAlpha Method (cyan, magenta, yellow, black, alpha)
NamespacesMonobjc.AppKitNSColorGetCyanMagentaYellowBlackAlpha(CGFloat%, CGFloat%, CGFloat%, CGFloat%, CGFloat%)

Returns the receiver’s CMYK and opacity values.

Original signature is '- (void)getCyan:(CGFloat *)cyan magenta:(CGFloat *)magenta yellow:(CGFloat *)yellow black:(CGFloat *)black alpha:(CGFloat *)alpha'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void GetCyanMagentaYellowBlackAlpha(
	out CGFloat cyan,
	out CGFloat magenta,
	out CGFloat yellow,
	out CGFloat black,
	out CGFloat alpha
Public Overridable Sub GetCyanMagentaYellowBlackAlpha ( _
	<OutAttribute> ByRef cyan As CGFloat, _
	<OutAttribute> ByRef magenta As CGFloat, _
	<OutAttribute> ByRef yellow As CGFloat, _
	<OutAttribute> ByRef black As CGFloat, _
	<OutAttribute> ByRef alpha As CGFloat _
virtual void GetCyanMagentaYellowBlackAlpha(
	[OutAttribute] CGFloat% cyan, 
	[OutAttribute] CGFloat% magenta, 
	[OutAttribute] CGFloat% yellow, 
	[OutAttribute] CGFloat% black, 
	[OutAttribute] CGFloat% alpha
cyan (CGFloat%)
Upon return, contains the cyan component of the color object.
magenta (CGFloat%)
Upon return, contains the magenta component of the color object.
yellow (CGFloat%)
Upon return, contains the yellow component of the color object.
black (CGFloat%)
Upon return, contains the black component of the color object.
alpha (CGFloat%)
Upon return, contains opacity value of the color object.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)