Initializes and returns an NSColorSpace object initialized from a Core Graphics color-space object.
Original signature is '- (id)initWithCGColorSpace:(CGColorSpaceRef)cgColorSpace'
Available in Mac OS X v10.5 and later.
Declaration Syntax
Parameters
- cgColorSpace (IntPtr)
- A reference to a Core Graphics color-space object (CGColorSpaceRef).
Return Value
The initialized NSColorSpace object or nil if initialization was not successful, which might happen if the color space represented by the CGColorSpace object is not supported by NSColorSpace.
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)