# ConstrainedLayoutReference

Artifact: [androidx.constraintlayout:constraintlayout-compose](https://developer.android.com/jetpack/androidx/releases/constraintlayout) [View Source](https://cs.android.com/search?q=file:androidx/constraintlayout/compose/ConstraintLayoutBaseScope.kt+class:androidx.constraintlayout.compose.ConstrainedLayoutReference) Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)


```
class ConstrainedLayoutReference : LayoutReference
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.constraintlayout.compose.LayoutReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/LayoutReference) ||
|   | ↳ | [androidx.constraintlayout.compose.ConstrainedLayoutReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstrainedLayoutReference) |

*** ** * ** ***

Represents a layout within a `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstraintLayout.composable#ConstraintLayout(androidx.compose.ui.Modifier,kotlin.Int,androidx.compose.animation.core.AnimationSpec,kotlin.Function0,kotlin.Function1)`.

This is a `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/LayoutReference` that may be constrained to other elements.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstrainedLayoutReference#ConstrainedLayoutReference(kotlin.Any)(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstraintLayoutBaseScope.VerticalAnchor` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstrainedLayoutReference#absoluteLeft()` The left anchor of this layout. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstraintLayoutBaseScope.VerticalAnchor` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstrainedLayoutReference#absoluteRight()` The right anchor of this layout. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstraintLayoutBaseScope.BaselineAnchor` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstrainedLayoutReference#baseline()` The baseline anchor of this layout. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstraintLayoutBaseScope.HorizontalAnchor` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstrainedLayoutReference#bottom()` The bottom anchor of this layout. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstraintLayoutBaseScope.VerticalAnchor` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstrainedLayoutReference#end()` The end anchor of this layout. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstraintLayoutBaseScope.VerticalAnchor` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstrainedLayoutReference#start()` The start anchor of this layout. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstraintLayoutBaseScope.HorizontalAnchor` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstrainedLayoutReference#top()` The top anchor of this layout. |

| ### Inherited functions |
|---|
| From [androidx.constraintlayout.compose.LayoutReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/LayoutReference) |---|---| | `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/LayoutReference#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` | | `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/LayoutReference#hashCode()()` | |

## Public constructors

### ConstrainedLayoutReference

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
ConstrainedLayoutReference(id: Any)
```

## Public properties

### absoluteLeft

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
val absoluteLeft: ConstraintLayoutBaseScope.VerticalAnchor
```

The left anchor of this layout.

### absoluteRight

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
val absoluteRight: ConstraintLayoutBaseScope.VerticalAnchor
```

The right anchor of this layout.

### baseline

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
val baseline: ConstraintLayoutBaseScope.BaselineAnchor
```

The baseline anchor of this layout.

### bottom

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
val bottom: ConstraintLayoutBaseScope.HorizontalAnchor
```

The bottom anchor of this layout.

### end

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
val end: ConstraintLayoutBaseScope.VerticalAnchor
```

The end anchor of this layout. Represents right in LTR layout direction, or left in RTL.

### start

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
val start: ConstraintLayoutBaseScope.VerticalAnchor
```

The start anchor of this layout. Represents left in LTR layout direction, or right in RTL.

### top

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
val top: ConstraintLayoutBaseScope.HorizontalAnchor
```

The top anchor of this layout.