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.
| C# | Visual Basic | Visual C++ |
public static NSUInteger GetNumberOfComponents( IntPtr cs )
Public Shared Function GetNumberOfComponents ( _ cs As IntPtr _ ) As NSUInteger
public: static NSUInteger GetNumberOfComponents( IntPtr cs )
- cs (IntPtr)
- MISSING
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.
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)