Source set: Common
@ExperimentalFoundationStyleApi
interface AlphaScope
An interface that introduces the alpha property to a Style receiver scope.
Functions
alpha
fun alpha(@FloatRange(from = 0.0, to = 1.0) value: Float)
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 | The alpha value (0.0f to 1.0f). |