# GridReference

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/helpers/GridReference.java+class:androidx.constraintlayout.core.state.helpers.GridReference) Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

*** ** * ** ***


```
class GridReference : HelperReference
```

<br />

|---|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) ||||
| ↳ | [androidx.constraintlayout.core.state.ConstraintReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference) |||
|   | ↳ | [androidx.constraintlayout.core.state.HelperReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/HelperReference) ||
|   |   | ↳ | [androidx.constraintlayout.core.state.helpers.GridReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference) |

*** ** * ** ***

A HelperReference of a Grid Helper that helps enable Grid in Compose

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#GridReference(androidx.constraintlayout.core.state.State,androidx.constraintlayout.core.state.State.Helper)(state: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/State, type: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/State.Helper)` |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#apply()()` Apply all the attributes to the helper widget (Grid) |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#getColumnWeights()()` Get the column weights |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#getColumnsSet()()` Get the number of columns |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#getFlags()()` Get all the flags of a Grid |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/HelperWidget` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#getHelperWidget()()` Get the helper widget (Grid) |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#getHorizontalGaps()()` Get the horizontal gaps |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#getOrientation()()` Get the Orientation |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#getPaddingBottom()()` get padding bottom |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#getPaddingEnd()()` get padding right |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#getPaddingStart()()` get padding left |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#getPaddingTop()()` get padding top |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#getRowWeights()()` Get the row weights |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#getRowsSet()()` Get the number of rows |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#getSkips()()` Get the skips |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#getSpans()()` Get the spans |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#getVerticalGaps()()` Get the vertical gaps |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#setColumnWeights(java.lang.String)(columnWeights: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` Set the column weights |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#setColumnsSet(int)(columnsSet: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the number of columns |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#setFlags(int)(flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set flags of a Grid |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#setFlags(java.lang.String)(flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` Set flags of a Grid |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#setHelperWidget(androidx.constraintlayout.core.widgets.HelperWidget)(widget: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/HelperWidget?)` Set the helper widget (Grid) |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#setHorizontalGaps(float)(horizontalGaps: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` Set the horizontal gaps |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#setOrientation(int)(orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the Orientation |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#setPaddingBottom(int)(paddingBottom: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` set padding bottom |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#setPaddingEnd(int)(paddingEnd: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` set padding right |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#setPaddingStart(int)(paddingStart: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` set padding left |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#setPaddingTop(int)(paddingTop: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` set padding top |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#setRowWeights(java.lang.String)(rowWeights: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` Set the row weights |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#setRowsSet(int)(rowsSet: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the number of rows |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#setSkips(java.lang.String)(skips: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` Set the skips |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#setSpans(java.lang.String)(spans: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` Set the spans |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GridReference#setVerticalGaps(float)(verticalGaps: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` Set the vertical gaps |

| ### Inherited functions |
|---|
| From [androidx.constraintlayout.core.state.ConstraintReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference) |---|---| | `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#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/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!)` | |
| From [androidx.constraintlayout.core.state.HelperReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/HelperReference) |---|---| | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/HelperReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/HelperReference#add(java.lang.Object...)(objects: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<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/HelperReference#applyBase()()` Allows the derived classes to invoke the apply method in the ConstraintReference | | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/HelperReference#getConstraintWidget()()` | | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/State.Helper!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/HelperReference#getType()()` | |

| ### Inherited properties |
|---|
| From [androidx.constraintlayout.core.state.ConstraintReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/ConstraintReference) |---|---| | `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()` | |
| From [androidx.constraintlayout.core.state.HelperReference](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/HelperReference) |---|---| | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/State!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/HelperReference#mHelperState()` | | `https://developer.android.com/reference/java/util/ArrayList.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!>!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/HelperReference#mReferences()` | |

## Public constructors

### GridReference

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

```
GridReference(state: State, type: State.Helper)
```

## Public functions

### apply

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

Apply all the attributes to the helper widget (Grid)

### getColumnWeights

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

```
fun getColumnWeights(): String?
```

Get the column weights

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | the column weights |

### getColumnsSet

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

```
fun getColumnsSet(): Int
```

Get the number of columns

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | the number of columns |

### getFlags

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

```
fun getFlags(): Int
```

Get all the flags of a Grid

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | an int value containing flag information |

### getHelperWidget

```
fun getHelperWidget(): HelperWidget
```

Get the helper widget (Grid)

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/HelperWidget` | the helper widget (Grid) |

### getHorizontalGaps

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

```
fun getHorizontalGaps(): Float
```

Get the horizontal gaps

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | the horizontal gaps |

### getOrientation

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

```
fun getOrientation(): Int
```

Get the Orientation

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | the Orientation |

### getPaddingBottom

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

```
fun getPaddingBottom(): Int
```

get padding bottom

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | padding bottom |

### getPaddingEnd

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

```
fun getPaddingEnd(): Int
```

get padding right

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | padding right |

### getPaddingStart

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

```
fun getPaddingStart(): Int
```

get padding left

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | padding left |

### getPaddingTop

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

```
fun getPaddingTop(): Int
```

get padding top

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | padding top |

### getRowWeights

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

```
fun getRowWeights(): String?
```

Get the row weights

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | the row weights |

### getRowsSet

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

```
fun getRowsSet(): Int
```

Get the number of rows

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | the number of rows |

### getSkips

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

```
fun getSkips(): String?
```

Get the skips

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | the skips |

### getSpans

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

```
fun getSpans(): String?
```

Get the spans

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | the spans |

### getVerticalGaps

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

```
fun getVerticalGaps(): Float
```

Get the vertical gaps

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | the vertical gaps |

### setColumnWeights

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

```
fun setColumnWeights(columnWeights: String): Unit
```

Set the column weights

| Parameters |
|---|---|
| `columnWeights: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | the column weights |

### setColumnsSet

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

```
fun setColumnsSet(columnsSet: Int): Unit
```

Set the number of columns

| Parameters |
|---|---|
| `columnsSet: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | the number of columns |

### setFlags

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

```
fun setFlags(flags: Int): Unit
```

Set flags of a Grid

| Parameters |
|---|---|
| `flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | an int value containing flag information |

### setFlags

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

```
fun setFlags(flags: String): Unit
```

Set flags of a Grid

| Parameters |
|---|---|
| `flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | a String containing all the flags |

### setHelperWidget

```
fun setHelperWidget(widget: HelperWidget?): Unit
```

Set the helper widget (Grid)

| Parameters |
|---|---|
| `widget: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/HelperWidget?` | the helper widget (Grid) |

### setHorizontalGaps

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

```
fun setHorizontalGaps(horizontalGaps: Float): Unit
```

Set the horizontal gaps

| Parameters |
|---|---|
| `horizontalGaps: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | the horizontal gaps |

### setOrientation

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

```
fun setOrientation(orientation: Int): Unit
```

Set the Orientation

| Parameters |
|---|---|
| `orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | the Orientation |

### setPaddingBottom

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

```
fun setPaddingBottom(paddingBottom: Int): Unit
```

set padding bottom

| Parameters |
|---|---|
| `paddingBottom: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | padding bottom to be set |

### setPaddingEnd

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

```
fun setPaddingEnd(paddingEnd: Int): Unit
```

set padding right

| Parameters |
|---|---|
| `paddingEnd: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | padding right to be set |

### setPaddingStart

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

```
fun setPaddingStart(paddingStart: Int): Unit
```

set padding left

| Parameters |
|---|---|
| `paddingStart: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | padding left to be set |

### setPaddingTop

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

```
fun setPaddingTop(paddingTop: Int): Unit
```

set padding top

| Parameters |
|---|---|
| `paddingTop: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | padding top to be set |

### setRowWeights

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

```
fun setRowWeights(rowWeights: String): Unit
```

Set the row weights

| Parameters |
|---|---|
| `rowWeights: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | the row weights |

### setRowsSet

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

```
fun setRowsSet(rowsSet: Int): Unit
```

Set the number of rows

| Parameters |
|---|---|
| `rowsSet: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | the number of rows |

### setSkips

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

```
fun setSkips(skips: String): Unit
```

Set the skips

| Parameters |
|---|---|
| `skips: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | the skips |

### setSpans

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

```
fun setSpans(spans: String): Unit
```

Set the spans

| Parameters |
|---|---|
| `spans: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | the spans |

### setVerticalGaps

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

```
fun setVerticalGaps(verticalGaps: Float): Unit
```

Set the vertical gaps

| Parameters |
|---|---|
| `verticalGaps: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | the vertical gaps |