Compose Modifier

clip

Clip the content to shape.

clip

Source set: Common
fun Modifier.clip(shape: Shape) = graphicsLayer(shape = shape, clip = true)

Clip the content to shape.

Parameters

shape the content will be clipped to this Shape.

Last updated: