Known direct subclasses
DrawStyleScope

An interface that introduces the drawing 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 shape property to a Style receiver scope.

See also
StyleScope

Summary

Public functions

Unit
shape(value: Shape)

Sets the Shape for the component.

Cmn

Public functions

shape

fun shape(value: Shape): Unit

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: Shape

The shape to apply.