Known direct subclasses
LayerStyleScope

An interface that introduces the graphics layer property to a Style receiver scope.

Known indirect subclasses
StyleScope

A StyleScope is the receiver scope of a Style lambda.


An interface that introduces the alpha property to a Style receiver scope.

See also
StyleScope

Summary

Public functions

Unit
alpha(value: @FloatRange(from = 0.0, to = 1.0) Float)

Sets the opacity of the component.

Cmn

Public functions

alpha

fun alpha(value: @FloatRange(from = 0.0, to = 1.0) Float): Unit

Sets the opacity of the component. A value of 1.0f means fully opaque, 0.0f means fully transparent.

This property is not inherited

Parameters
value: @FloatRange(from = 0.0, to = 1.0) Float

The alpha value (0.0f to 1.0f).

See also
alpha
graphicsLayer