clipOutline
Source set: JvmAndAndroid
public fun RemoteDrawTransform.clipOutline(outline: RemoteOutline)
Intersects the current clip region with outline.
Emits a path clip, so callers must verify that the active profile supports path clipping (see androidx.compose.remote.creation.compose.capture.currentProfileSupportsPathClip).
Parameters
| outline | RemoteOutline to clip to |
clipOutline
Source set: JvmAndAndroid
public fun RemoteDrawScope.clipOutline(outline: RemoteOutline, block: RemoteDrawScope.() -> Unit)
Clips the drawing area to outline while running block.
Emits a path clip, so callers must verify that the active profile supports path clipping (see androidx.compose.remote.creation.compose.capture.currentProfileSupportsPathClip).
Parameters
| outline | RemoteOutline to clip to |
| block | drawing commands to run within the clipped area |