Type Property

extendedSRGB

Returns an NSColorSpace object representing an extended sRGB color space.

Declaration

class var extendedSRGB: NSColorSpace { get }

Return Value

The NSColorSpace object. This color-additive color space has red, green, blue, and alpha components.

Discussion

This color space has the same colorimetry as sRGB, but component values below 0.0 and above 1.0 may be encoded in this color space. Negative values are encoded as the signed reflection of the original encoding function. y(x) = sign(x)*f(abs(x))

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 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 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.