Source set: Common
@ExperimentalFoundationStyleApi
interface ShapeScope
An interface that introduces the shape property to a Style receiver scope.
Functions
shape
fun shape(value: Shape)
Sets the Shape for the component. This shape is used for clipping (ClipScope.clip), background rendering (BackgroundScope.background), and border rendering.
If shape is not specified then a androidx.compose.ui.graphics.RectangleShape is used.
This property is not inherited
Parameters
| value | The shape to apply. |