alpha

abstract var alpha: Float

The opacity the content paints at, as one image: overlapping content inside it does not show through. 1f by default. A value above 1f paints at 1f; 0f, a value below it and NaN paint nothing.

A change of the alpha or of clip shows one event after the change, together with the repaints requested before it. A repaint of a component inside the layer shows when that repaint paints; a frame painted before it shows the content as last drawn.