# clipToBounds

Common/All

## Functions summary

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier.https://developer.android.com/reference/kotlin/androidx/compose/ui/draw/clipToBounds.modifier#(androidx.compose.ui.Modifier).clipToBounds()()` Clip the content to the bounds of a layer defined at this modifier. | Cmn |

## Functions

### Modifier.clipToBounds

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/draw/Clip.kt+function:clipToBounds) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
fun Modifier.clipToBounds(): Modifier
```

Clip the content to the bounds of a layer defined at this modifier.