Contents

numberOfComponents

Returns the number of color components (including alpha) associated with a color.

Declaration

var numberOfComponents: Int { get }

See Also

Examining a Color