maskClip

@Composable
abstract fun Modifier.maskClip(shape: Shape): Modifier

Clips the composable to the given shape, taking into account the item's size in the cross axis and mask in the main axis.

Parameters

shape

the shape to be applied to the composable