# layoutBounds

Common/AllAndroid/JVM

## 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/layout/layoutBounds.modifier#(androidx.compose.ui.Modifier).layoutBounds(androidx.compose.ui.layout.LayoutBoundsHolder)(holder: https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutBoundsHolder)` This will map the `https://developer.android.com/reference/kotlin/androidx/compose/ui/spatial/RelativeLayoutBounds` of the modifier into the provided `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutBoundsHolder`. | Cmn |

## Functions

### Modifier.layoutBounds

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/layout/LayoutBoundsHolder.kt+function:layoutBounds) Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.9.0)

```
fun Modifier.layoutBounds(holder: LayoutBoundsHolder): Modifier
```

This will map the `https://developer.android.com/reference/kotlin/androidx/compose/ui/spatial/RelativeLayoutBounds` of the modifier into the provided `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutBoundsHolder`. A given instance of `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutBoundsHolder` should not be passed into more than one of these modifiers.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/LayoutBoundsHolder` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/onVisibilityChanged.modifier#(androidx.compose.ui.Modifier).onVisibilityChanged(kotlin.Long,kotlin.Float,androidx.compose.ui.layout.LayoutBoundsHolder,kotlin.Function1)` |   |