MonobjcMonobjc Documented Class Library
GetComponents Method (color)
NamespacesMonobjc.ApplicationServicesCGColorGetComponents(IntPtr)

Returns the values of the color components (including alpha) associated with a Quartz color.

Original signature is 'const CGFloat * CGColorGetComponents ( CGColorRef color );'

Available in Mac OS X version 10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr GetComponents(
	IntPtr color
)
Public Shared Function GetComponents ( _
	color As IntPtr _
) As IntPtr
public:
static IntPtr GetComponents(
	IntPtr color
)
Parameters
color (IntPtr)
MISSING
Return Value
An array of intensity values for the color components (including alpha) associated with the specified color. The size of the array is one more than the number of components of the color space for the color.
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)