# HorizontalChainReference

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.HorizontalChainReference) Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)


```
class HorizontalChainReference : 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.HorizontalChainReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/HorizontalChainReference) |

*** ** * ** ***

Represents a horizontal chain 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)`.

The anchors correspond to the first and last elements in the chain.

## Summary

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstraintLayoutBaseScope.VerticalAnchor` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/HorizontalChainReference#absoluteLeft()` The left anchor of the first element in the chain. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstraintLayoutBaseScope.VerticalAnchor` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/HorizontalChainReference#absoluteRight()` The right anchor of the last element in the chain. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstraintLayoutBaseScope.VerticalAnchor` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/HorizontalChainReference#end()` The end anchor of the last element in the chain. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/ConstraintLayoutBaseScope.VerticalAnchor` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/HorizontalChainReference#start()` The start anchor of the first element in the chain. |

| ### 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 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 the first element in the chain.

### 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 the last element in the chain.

### 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 the last element in the chain.

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 the first element in the chain.

Represents left in LTR layout direction, or right in RTL.