clip
Source set: JvmAndAndroid
public fun RemoteModifier.clip(shape: RemoteShape = RemoteRectangleShape): RemoteModifier
Clips the content to shape.
Example of clipping a background to rounded corners:
Parameters
| shape | The RemoteShape to clip the content to. |
Return
a RemoteModifier that clips the content to shape