🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

ShapeScope

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

Source set: Common
public interface ShapeScope

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

Functions

shape

Source set: Common
public 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.

Content updated: