clipPath

inline fun DrawScope.clipPath(shape: Shape, block: DrawScope.() -> Unit)

Intersects the clip with shape for the duration of block.