redComponent
The red component value of the color.
Declaration
var redComponent: CGFloat { get }Discussion
Access this property only for colors in the calibratedRGB or deviceRGB color spaces. Accessing it for other color types raises an exception.
The red component value of the color.
var redComponent: CGFloat { get }Access this property only for colors in the calibratedRGB or deviceRGB color spaces. Accessing it for other color types raises an exception.