Instance Property

numberOfColorComponents

Returns the number of color components in the specified color space.

Declaration

var numberOfColorComponents: Int { get }

Discussion

Returns the number of color components in the color space whose name is provided by colorSpaceName.