# ConstraintReference

Artifact: [androidx.constraintlayout:constraintlayout-core](https://developer.android.com/jetpack/androidx/releases/constraintlayout) [View Source](https://cs.android.com/search?q=file:androidx/constraintlayout/core/state/ConstraintReference.java+class:androidx.constraintlayout.core.state.ConstraintReference) Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

*** ** * ** ***


```
class ConstraintReference : Reference
```

<br />

Known direct subclasses [HelperReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/HelperReference)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/HelperReference` |   |

Known indirect subclasses [AlignHorizontallyReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/AlignHorizontallyReference), [AlignVerticallyReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/AlignVerticallyReference), [BarrierReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/BarrierReference), [ChainReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/ChainReference), [FlowReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/FlowReference), [GridReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference), [HorizontalChainReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/HorizontalChainReference), [VerticalChainReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/VerticalChainReference)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/AlignHorizontallyReference` |   |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/AlignVerticallyReference` |   |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/BarrierReference` |   |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/ChainReference` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/HelperReference` for Chains. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/FlowReference` | The FlowReference class can be used to store the relevant properties of a Flow Helper when parsing the Flow Helper information in a JSON representation. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference` | A HelperReference of a Grid Helper that helps enable Grid in Compose |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/HorizontalChainReference` |   |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/VerticalChainReference` |   |

*** ** * ** ***

## Summary

| ### Nested types |
|---|
| `interface https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference.ConstraintReferenceFactory` |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#ConstraintReference(androidx.constraintlayout.core.state.State)(state: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/State!)` |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#addCustomColor(java.lang.String,int)(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!, color: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#addCustomFloat(java.lang.String,float)(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!, value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#alpha(float)(alpha: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#apply()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#applyWidgetConstraints()()` apply all the constraints attributes of the mConstraintWidget |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#baseline()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#baselineToBaseline(java.lang.Object)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#baselineToBottom(java.lang.Object)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#baselineToTop(java.lang.Object)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#bias(float)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#bottom()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#bottomToBottom(java.lang.Object)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#bottomToTop(java.lang.Object)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#centerHorizontally(java.lang.Object)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#centerVertically(java.lang.Object)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#circularConstraint(java.lang.Object,float,float)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!, angle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, distance: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#clear()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#clearAll()()` Clears all constraints. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#clearHorizontal()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#clearVertical()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#createConstraintWidget()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#end()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#endToEnd(java.lang.Object)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#endToStart(java.lang.Object)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getAlpha()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getConstraintWidget()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/Facade!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getFacade()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/Dimension!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getHeight()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getHorizontalChainStyle()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getHorizontalChainWeight()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getKey()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getPivotX()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getPivotY()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getRotationX()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getRotationY()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getRotationZ()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getScaleX()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getScaleY()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getTag()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getTranslationX()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getTranslationY()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getTranslationZ()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getVerticalChainStyle(int)(chainStyle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getVerticalChainWeight()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getView()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/Dimension!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#getWidth()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#height(androidx.constraintlayout.core.state.Dimension)(dimension: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/Dimension!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#horizontalBias(float)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#left()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#leftToLeft(java.lang.Object)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#leftToRight(java.lang.Object)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#margin(java.lang.Object)(marginValue: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#margin(int)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#marginGone(java.lang.Object)(marginGoneValue: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#marginGone(int)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#pivotX(float)(x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#pivotY(float)(y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#right()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#rightToLeft(java.lang.Object)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#rightToRight(java.lang.Object)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#rotationX(float)(x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#rotationY(float)(y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#rotationZ(float)(z: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#scaleX(float)(x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#scaleY(float)(y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#setConstraintWidget(androidx.constraintlayout.core.widgets.ConstraintWidget)(widget: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#setFacade(androidx.constraintlayout.core.state.helpers.Facade)(facade: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/Facade!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#setHeight(androidx.constraintlayout.core.state.Dimension)(dimension: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/Dimension!)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#setHorizontalChainStyle(int)(chainStyle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#setHorizontalChainWeight(float)(weight: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#setKey(java.lang.Object)(key: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#setTag(java.lang.String)(tag: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#setVerticalChainStyle(int)(chainStyle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#setVerticalChainWeight(float)(weight: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#setView(java.lang.Object)(view: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#setWidth(androidx.constraintlayout.core.state.Dimension)(dimension: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/Dimension!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#start()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#startToEnd(java.lang.Object)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#startToStart(java.lang.Object)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#top()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#topToBottom(java.lang.Object)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#topToTop(java.lang.Object)(reference: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#translationX(float)(x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#translationY(float)(y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#translationZ(float)(z: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#validate()()` Validate the constraints |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#verticalBias(float)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#visibility(int)(visibility: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#width(androidx.constraintlayout.core.state.Dimension)(dimension: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/Dimension!)` |

| ### Protected properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mBottomToBottom()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mBottomToTop()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mEndToEnd()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mEndToStart()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mHorizontalBias()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mLeftToLeft()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mLeftToRight()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mMarginBottom()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mMarginBottomGone()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mMarginEnd()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mMarginEndGone()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mMarginLeft()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mMarginLeftGone()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mMarginRight()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mMarginRightGone()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mMarginStart()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mMarginStartGone()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mMarginTop()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mMarginTopGone()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mRightToLeft()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mRightToRight()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mStartToEnd()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mStartToStart()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mTopToBottom()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mTopToTop()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference#mVerticalBias()` |

## Public constructors

### ConstraintReference

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

```
ConstraintReference(state: State!)
```

## Public functions

### addCustomColor

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

```
fun addCustomColor(name: String!, color: Int): Unit
```

### addCustomFloat

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

```
fun addCustomFloat(name: String!, value: Float): Unit
```

### alpha

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

```
fun alpha(alpha: Float): ConstraintReference!
```

### apply

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

```
fun apply(): Unit
```

### applyWidgetConstraints

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

```
fun applyWidgetConstraints(): Unit
```

apply all the constraints attributes of the mConstraintWidget

### baseline

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

```
fun baseline(): ConstraintReference!
```

### baselineToBaseline

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

```
fun baselineToBaseline(reference: Any!): ConstraintReference!
```

### baselineToBottom

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

```
fun baselineToBottom(reference: Any!): ConstraintReference!
```

### baselineToTop

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

```
fun baselineToTop(reference: Any!): ConstraintReference!
```

### bias

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

```
fun bias(value: Float): ConstraintReference!
```

### bottom

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

```
fun bottom(): ConstraintReference!
```

### bottomToBottom

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

```
fun bottomToBottom(reference: Any!): ConstraintReference!
```

### bottomToTop

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

```
fun bottomToTop(reference: Any!): ConstraintReference!
```

### centerHorizontally

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

```
fun centerHorizontally(reference: Any!): ConstraintReference!
```

### centerVertically

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

```
fun centerVertically(reference: Any!): ConstraintReference!
```

### circularConstraint

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

```
fun circularConstraint(reference: Any!, angle: Float, distance: Float): ConstraintReference!
```

### clear

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

```
fun clear(): ConstraintReference!
```

### clearAll

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

```
fun clearAll(): ConstraintReference!
```

Clears all constraints.

### clearHorizontal

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

```
fun clearHorizontal(): ConstraintReference!
```

### clearVertical

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

```
fun clearVertical(): ConstraintReference!
```

### createConstraintWidget

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

```
fun createConstraintWidget(): ConstraintWidget!
```

### end

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

```
fun end(): ConstraintReference!
```

### endToEnd

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

```
fun endToEnd(reference: Any!): ConstraintReference!
```

### endToStart

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

```
fun endToStart(reference: Any!): ConstraintReference!
```

### getAlpha

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

```
fun getAlpha(): Float
```

### getConstraintWidget

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

```
fun getConstraintWidget(): ConstraintWidget!
```

### getFacade

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

```
fun getFacade(): Facade!
```

### getHeight

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

```
fun getHeight(): Dimension!
```

### getHorizontalChainStyle

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

```
fun getHorizontalChainStyle(): Int
```

### getHorizontalChainWeight

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

```
fun getHorizontalChainWeight(): Float
```

### getKey

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

```
fun getKey(): Any!
```

### getPivotX

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

```
fun getPivotX(): Float
```

### getPivotY

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

```
fun getPivotY(): Float
```

### getRotationX

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

```
fun getRotationX(): Float
```

### getRotationY

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

```
fun getRotationY(): Float
```

### getRotationZ

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

```
fun getRotationZ(): Float
```

### getScaleX

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

```
fun getScaleX(): Float
```

### getScaleY

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

```
fun getScaleY(): Float
```

### getTag

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

```
fun getTag(): String!
```

### getTranslationX

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

```
fun getTranslationX(): Float
```

### getTranslationY

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

```
fun getTranslationY(): Float
```

### getTranslationZ

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

```
fun getTranslationZ(): Float
```

### getVerticalChainStyle

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

```
fun getVerticalChainStyle(chainStyle: Int): Int
```

### getVerticalChainWeight

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

```
fun getVerticalChainWeight(): Float
```

### getView

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

```
fun getView(): Any!
```

### getWidth

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

```
fun getWidth(): Dimension!
```

### height

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

```
fun height(dimension: Dimension!): ConstraintReference!
```

### horizontalBias

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

```
fun horizontalBias(value: Float): ConstraintReference!
```

### left

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

```
fun left(): ConstraintReference!
```

### leftToLeft

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

```
fun leftToLeft(reference: Any!): ConstraintReference!
```

### leftToRight

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

```
fun leftToRight(reference: Any!): ConstraintReference!
```

### margin

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

```
fun margin(marginValue: Any!): ConstraintReference!
```

### margin

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

```
fun margin(value: Int): ConstraintReference!
```

### marginGone

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

```
fun marginGone(marginGoneValue: Any!): ConstraintReference!
```

### marginGone

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

```
fun marginGone(value: Int): ConstraintReference!
```

### pivotX

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

```
fun pivotX(x: Float): ConstraintReference!
```

### pivotY

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

```
fun pivotY(y: Float): ConstraintReference!
```

### right

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

```
fun right(): ConstraintReference!
```

### rightToLeft

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

```
fun rightToLeft(reference: Any!): ConstraintReference!
```

### rightToRight

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

```
fun rightToRight(reference: Any!): ConstraintReference!
```

### rotationX

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

```
fun rotationX(x: Float): ConstraintReference!
```

### rotationY

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

```
fun rotationY(y: Float): ConstraintReference!
```

### rotationZ

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

```
fun rotationZ(z: Float): ConstraintReference!
```

### scaleX

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

```
fun scaleX(x: Float): ConstraintReference!
```

### scaleY

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

```
fun scaleY(y: Float): ConstraintReference!
```

### setConstraintWidget

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

```
fun setConstraintWidget(widget: ConstraintWidget!): Unit
```

### setFacade

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

```
fun setFacade(facade: Facade!): Unit
```

### setHeight

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

```
fun setHeight(dimension: Dimension!): ConstraintReference!
```

### setHorizontalChainStyle

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

```
fun setHorizontalChainStyle(chainStyle: Int): Unit
```

### setHorizontalChainWeight

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

```
fun setHorizontalChainWeight(weight: Float): Unit
```

### setKey

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

```
fun setKey(key: Any!): Unit
```

### setTag

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

```
fun setTag(tag: String!): Unit
```

### setVerticalChainStyle

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

```
fun setVerticalChainStyle(chainStyle: Int): Unit
```

### setVerticalChainWeight

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

```
fun setVerticalChainWeight(weight: Float): Unit
```

### setView

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

```
fun setView(view: Any!): Unit
```

### setWidth

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

```
fun setWidth(dimension: Dimension!): ConstraintReference!
```

### start

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

```
fun start(): ConstraintReference!
```

### startToEnd

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

```
fun startToEnd(reference: Any!): ConstraintReference!
```

### startToStart

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

```
fun startToStart(reference: Any!): ConstraintReference!
```

### top

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

```
fun top(): ConstraintReference!
```

### topToBottom

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

```
fun topToBottom(reference: Any!): ConstraintReference!
```

### topToTop

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

```
fun topToTop(reference: Any!): ConstraintReference!
```

### translationX

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

```
fun translationX(x: Float): ConstraintReference!
```

### translationY

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

```
fun translationY(y: Float): ConstraintReference!
```

### translationZ

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

```
fun translationZ(z: Float): ConstraintReference!
```

### validate

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

```
fun validate(): Unit
```

Validate the constraints

| Throws |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference.IncorrectConstraintException` |   |

### verticalBias

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

```
fun verticalBias(value: Float): ConstraintReference!
```

### visibility

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

```
fun visibility(visibility: Int): ConstraintReference!
```

### width

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

```
fun width(dimension: Dimension!): ConstraintReference!
```

## Protected properties

### mBottomToBottom

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

```
protected val mBottomToBottom: Any!
```

### mBottomToTop

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

```
protected val mBottomToTop: Any!
```

### mEndToEnd

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

```
protected val mEndToEnd: Any!
```

### mEndToStart

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

```
protected val mEndToStart: Any!
```

### mHorizontalBias

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

```
protected val mHorizontalBias: Float
```

### mLeftToLeft

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

```
protected val mLeftToLeft: Any!
```

### mLeftToRight

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

```
protected val mLeftToRight: Any!
```

### mMarginBottom

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

```
protected val mMarginBottom: Int
```

### mMarginBottomGone

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

```
protected val mMarginBottomGone: Int
```

### mMarginEnd

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

```
protected val mMarginEnd: Int
```

### mMarginEndGone

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

```
protected val mMarginEndGone: Int
```

### mMarginLeft

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

```
protected val mMarginLeft: Int
```

### mMarginLeftGone

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

```
protected val mMarginLeftGone: Int
```

### mMarginRight

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

```
protected val mMarginRight: Int
```

### mMarginRightGone

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

```
protected val mMarginRightGone: Int
```

### mMarginStart

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

```
protected val mMarginStart: Int
```

### mMarginStartGone

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

```
protected val mMarginStartGone: Int
```

### mMarginTop

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

```
protected val mMarginTop: Int
```

### mMarginTopGone

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

```
protected val mMarginTopGone: Int
```

### mRightToLeft

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

```
protected val mRightToLeft: Any!
```

### mRightToRight

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

```
protected val mRightToRight: Any!
```

### mStartToEnd

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

```
protected val mStartToEnd: Any!
```

### mStartToStart

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

```
protected val mStartToStart: Any!
```

### mTopToBottom

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

```
protected val mTopToBottom: Any!
```

### mTopToTop

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

```
protected val mTopToTop: Any!
```

### mVerticalBias

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

```
protected val mVerticalBias: Float
```