Type Property

deviceCMYK

Returns an NSColorSpace object representing a calibrated or device-dependent CMYK color space.

Declaration

class var deviceCMYK: NSColorSpace { get }

Return Value

The NSColorSpace object. This color space has cyan, magenta, yellow, black, and alpha components. Typical devices that use the color-subtractive CMYK color space are color printers. This object corresponds to the Cocoa color space name NSDeviceCMYKColorSpace.

See Also

Getting a Named Colorspace

class var deviceRGB: NSColorSpace

Returns an NSColorSpace object representing a calibrated or device-dependent RGB color space.

class var genericRGB: NSColorSpace

Returns an NSColorSpace object representing a device-independent RGB color space.

class var genericCMYK: NSColorSpace

Returns an NSColorSpace object representing a device-independent CMYK color space.

class var deviceGray: NSColorSpace

Returns an NSColorSpace object representing a calibrated or device-dependent gray color space.

class var genericGray: NSColorSpace

Returns an NSColorSpace object representing a device-independent gray color space.

class var sRGB: NSColorSpace

Returns an NSColorSpace object representing an sRGB color space.

class var extendedSRGB: NSColorSpace

Returns an NSColorSpace object representing an extended sRGB color space.

class var displayP3: NSColorSpace

Returns an NSColorSpace object representing a P3 Display color space.

class var genericGamma22Gray: NSColorSpace

Returns an NSColorSpace object representing a gray color space with a gamma value of 2.2.

class var extendedGenericGamma22Gray: NSColorSpace

Returns an NSColorSpace object representing an extended gray color space with a gamma value of 2.2.

class var adobeRGB1998: NSColorSpace

Returns an NSColorSpace object representing an Adobe RGB (1998) color space.