MonobjcMonobjc Documented Class Library
GetNumberOfComponents Method (cs)
NamespacesMonobjc.ApplicationServicesCGColorSpaceGetNumberOfComponents(IntPtr)

Returns the number of color components in a color space.

Original signature is 'size_t CGColorSpaceGetNumberOfComponents( CGColorSpaceRef cs );'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSUInteger GetNumberOfComponents(
	IntPtr cs
)
Public Shared Function GetNumberOfComponents ( _
	cs As IntPtr _
) As NSUInteger
public:
static NSUInteger GetNumberOfComponents(
	IntPtr cs
)
Parameters
cs (IntPtr)
MISSING
Return Value
The number of color components in the specified color space, not including the alpha value. For example, for an RGB color space, CGColorSpaceGetNumberOfComponents returns a value of 3.
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)