Known direct subclasses
StyleScope

A StyleScope is the receiver scope of a Style lambda.


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

See also
StyleScope

Summary

Inherited functions

From androidx.compose.foundation.style.AlphaScope
Unit
alpha(value: @FloatRange(from = 0.0, to = 1.0) Float)

Sets the opacity of the component.

Cmn
From androidx.compose.foundation.style.ClipScope
Unit
clip(value: Boolean)

Clips the component to its bounds.

Cmn
From androidx.compose.foundation.style.ColorFilterScope
Unit

Sets the ColorFilter to apply to the component.

Cmn
From androidx.compose.foundation.style.RotationScope
Unit
rotationX(value: Float)

Rotates the component around the X-axis through its center.

Cmn
Unit
rotationY(value: Float)

Rotates the component around the Y-axis through its center.

Cmn
Unit
rotationZ(value: Float)

Rotates the component around the Z-axis (perpendicular to the screen) through its center.

Cmn
From androidx.compose.foundation.style.ScaleScope
Unit
scaleX(value: @FloatRange(from = 0.0) Float)

Scales the component horizontally around its center pivot point.

Cmn
Unit
scaleY(value: @FloatRange(from = 0.0) Float)

Scales the component vertically around its center pivot point.

Cmn
From androidx.compose.foundation.style.TransformOriginScope
Unit

Offset percentage along the x-axis for which contents are rotated and scaled.

Cmn
Unit

Offset percentage along the y-axis for which contents are rotated and scaled.

Cmn
From androidx.compose.foundation.style.TranslationScope
Unit
translationX(value: @FloatRange(from = 0.0) Float)

Translates (moves) the component horizontally.

Cmn
Unit
translationY(value: @FloatRange(from = 0.0) Float)

Translates (moves) the component vertically.

Cmn
From androidx.compose.foundation.style.ZIndexScope
Unit
zIndex(value: @FloatRange(from = 0.0) Float)

Sets the Z-index of the component.

Cmn