alphaComponent
The alpha (opacity) component value of the color.
Declaration
var alphaComponent: CGFloat { get }Discussion
The value of this property is between 0.0 and 1.0, where 0.0 represents fully transparent and 1.0 represents fully opaque. If the color has no alpha component, the value of this property is 1.0.
See Also
Related Documentation
getRed(_:green:blue:alpha:)getHue(_:saturation:brightness:alpha:)getCyan(_:magenta:yellow:black:alpha:)getWhite(_:alpha:)