# clipOutline

> Intersects the current clip region with [outline].

## API Reference

### clipOutline

> Source set: JvmAndAndroid

```kotlin
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](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteOutline/api.md) to clip to |

### clipOutline

> Source set: JvmAndAndroid

```kotlin
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](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteOutline/api.md) to clip to |
| block | drawing commands to run within the clipped area |
