Instance Property


The Core Graphics color-space object that represents a color space equivalent to the receiver’s.


var cgColorSpace: CGColorSpace? { get }


The value of this property is a reference to an Core Graphics color-space object (CGColorSpace) or NULL if the type of color space represented by the receiver cannot be represented by a CGColorSpace object.

See Also

Accessing Color-Space Data and Attributes

var colorSpaceModel: NSColorSpace.Model

The model on which the color space of the receiver is based.

enum NSColorSpace.Model

The abstract model on which an color space objects are based.

var colorSyncProfile: UnsafeMutableRawPointer?

The ColorSync profile from which the receiver was created.

var iccProfileData: Data?

The ICC profile data from which the receiver was created.

var localizedName: String?

The localized name of the receiver

var numberOfColorComponents: Int

The number of components (excluding alpha) the receiver supports or zero if the receiver is not based on float components.