Type Property

deviceGray

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

Declaration

class var deviceGray: NSColorSpace { get }

Return Value

The NSColorSpace object. The color space also includes an alpha component. Typical devices that use this color space are grayscale printers and displays. This object corresponds to the Cocoa color space name NSDeviceWhiteColorSpace.

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 deviceCMYK: NSColorSpace

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

class var genericCMYK: NSColorSpace

Returns an NSColorSpace object representing a device-independent CMYK 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.