Compose Modifier 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.