Returns the number of color components (including alpha) associated with a Quartz color.
Original signature is 'size_t CGColorGetNumberOfComponents ( CGColorRef color );'
Available in Mac OS X version 10.3 and later.

C# | Visual Basic | Visual C++ |
public static NSUInteger GetNumberOfComponents( IntPtr color )
Public Shared Function GetNumberOfComponents ( _ color As IntPtr _ ) As NSUInteger
public: static NSUInteger GetNumberOfComponents( IntPtr color )

- color (IntPtr)
- MISSING

The number of color components (including alpha) associated with the specified color. This number is one more than the number of components of the color space for the color.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)