Contents

opacity

The opacity of the color, in the range 0 to 1.

Declaration

var opacity: Float { get set }

Discussion

A value of 0 means 100% transparency, while a value of 1 means 100% opacity.

See Also

Getting color properties