Instance Property

numberOfColorComponents

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

Declaration

var numberOfColorComponents: Int { get }

See Also

Accessing Color-Space Data and Attributes

var cgColorSpace: CGColorSpace?

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

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