clipToBounds

Compose Modifier

Common
fun Modifier.clipToBounds() = graphicsLayer(clip = true)

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