---
title: "ClipScope"
description: "An interface that introduces the clip property to a Style receiver scope."
type: "interface"
lastmod: "2026-06-04T09:07:44.167198Z"
---
## API Reference

> Source set: Common

```kotlin
@ExperimentalFoundationStyleApi
interface ClipScope
```

An interface that introduces the [clip](/jetpack-compose/androidx.compose.ui/ui/modifiers/clip) property to a [Style](/jetpack-compose/androidx.compose.foundation/foundation/interfaces/Style) receiver scope.

## Functions

### clip

```kotlin
fun clip(value: Boolean = true)
```

Clips the component to its bounds. If a [ShapeScope.shape](/jetpack-compose/androidx.compose.foundation/foundation/interfaces/ShapeScope) is also applied, it clips to the
shape. When clip is `true` content that overflows the component's bounds is not drawn.

This property is *not* inherited

#### Parameters

| | |
| --- | --- |
| value | `true` to clip (default), `false` to allow drawing outside bounds. |
