Known direct subclasses
StyleScope

A StyleScope is the receiver scope of a Style lambda.


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

See also
StyleScope

Summary

Inherited functions

From androidx.compose.foundation.style.BackgroundScope
Unit
background(color: Color)

Sets the background color of the component.

Cmn
Unit
background(value: Brush)

Sets the background of the component using a Brush.

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

Sets the brush used to paint the border around the component.

Cmn
Unit

Sets the color of the border around the component.

Cmn
Unit
borderWidth(value: Dp)

Sets the width of the border around the component.

Cmn
From androidx.compose.foundation.style.ForegroundScope
Unit
foreground(value: Brush)

Sets the foreground brush for the component.

Cmn
Unit
foreground(value: Color)

Sets the foreground color for the component.

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

Applies a drop shadow effect directly to the component, often used for text or specific graphics.

Cmn
Unit
dropShadow(vararg value: Shadow)

Applies one or more drop shadow effects directly to the component.

Cmn
Unit

Applies an inner shadow effect to the component.

Cmn
Unit
innerShadow(vararg value: Shadow)

Applies one or more inner shadow effects to the component.

Cmn
From androidx.compose.foundation.style.ShapeScope
Unit
shape(value: Shape)

Sets the Shape for the component.

Cmn