Compose Modifier

clipToBounds

Clip the content to the bounds of a layer defined at this modifier.

clipToBounds

Source set: Common
fun Modifier.clipToBounds() = graphicsLayer(clip = true)

Clip the content to the bounds of a layer defined at this modifier.

Last updated: