# currentProfileSupportsPathClip

> Whether the current creation [androidx.compose.remote.creation.profile.Profile] supports clipping to an arbitrary path, for example with [androidx.compose.remote.creation.compose.layout.RemoteDrawScope.clipPath].

## API Reference

### currentProfileSupportsPathClip

> Source set: Android

```kotlin
@Composable
public fun currentProfileSupportsPathClip(): Boolean
```

Whether the current creation `androidx.compose.remote.creation.profile.Profile` supports clipping
to an arbitrary path, for example with
`androidx.compose.remote.creation.compose.layout.RemoteDrawScope.clipPath`.

Without it, clipping is limited to the rectangle and rounded rectangle shapes supported by the
[clip](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/clip/api.md) modifier, so components can check this before clipping drawn content, such as a background
image, to a custom shape.
