# ConstraintWidget

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

*** ** * ** ***

<br />

```
class ConstraintWidget
```

<br />

Known direct subclasses [Guideline](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/Guideline), [HelperWidget](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/HelperWidget), [WidgetContainer](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/WidgetContainer)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/Guideline` | Guideline |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/HelperWidget` | HelperWidget class |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/WidgetContainer` | A container of ConstraintWidget |

Known indirect subclasses [Barrier](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/Barrier), [ConstraintWidgetContainer](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidgetContainer), [Flow](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/Flow), [GridCore](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/utils/GridCore), [Placeholder](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/Placeholder), [VirtualLayout](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/VirtualLayout)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/Barrier` | A Barrier takes multiple widgets |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidgetContainer` | A container of ConstraintWidget that can layout its children |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/Flow` | Implements the Flow virtual layout. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/utils/GridCore` | The Grid Helper in the Core library that helps to enable Grid in Compose |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/Placeholder` | Simple VirtualLayout that center the first referenced widget onto itself. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/VirtualLayout` | Base class for Virtual layouts |

*** ** * ** ***

Implements a constraint Widget model supporting constraints relations between other widgets.

The widget has various anchors (i.e. Left, Top, Right, Bottom, representing their respective sides, as well as Baseline, Center_X and Center_Y). Connecting anchors from one widget to another represents a constraint relation between the two anchors; the `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/LinearSystem` will then be able to use this model to try to minimize the distances between connected anchors.

If opposite anchors are connected (e.g. Left and Right anchors), if they have the same strength, the widget will be equally pulled toward their respective target anchor positions; if the widget has a fixed size, this means that the widget will be centered between the two target anchors. If the widget's size is allowed to adjust, the size of the widget will change to be as large as necessary so that the widget's anchors and the target anchors' distances are zero.
Constraints are set by connecting a widget's anchor to another via the `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#connect(androidx.constraintlayout.core.widgets.ConstraintAnchor,androidx.constraintlayout.core.widgets.ConstraintAnchor,int)` function.

## Summary

| ### Nested types |
|---|
| `enum https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget.DimensionBehaviour` Define how the widget will resize |

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#ANCHOR_BASELINE() = 4` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#ANCHOR_BOTTOM() = 3` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#ANCHOR_LEFT() = 0` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#ANCHOR_RIGHT() = 1` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#ANCHOR_TOP() = 2` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#BOTH() = 2` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#CHAIN_PACKED() = 2` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#CHAIN_SPREAD() = 0` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#CHAIN_SPREAD_INSIDE() = 1` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#DIRECT() = 2` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#GONE() = 8` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#HORIZONTAL() = 0` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#INVISIBLE() = 4` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#MATCH_CONSTRAINT_PERCENT() = 2` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#MATCH_CONSTRAINT_RATIO() = 3` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#MATCH_CONSTRAINT_RATIO_RESOLVED() = 4` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#MATCH_CONSTRAINT_SPREAD() = 0` ///////////////////////////////////////////////////////////////////////////////////////////// |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#MATCH_CONSTRAINT_WRAP() = 1` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#SOLVER() = 1` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#UNKNOWN() = -1` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#VERTICAL() = 1` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#VISIBLE() = 0` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#WRAP_BEHAVIOR_HORIZONTAL_ONLY() = 1` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#WRAP_BEHAVIOR_INCLUDED() = 0` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#WRAP_BEHAVIOR_SKIPPED() = 3` |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#WRAP_BEHAVIOR_VERTICAL_ONLY() = 2` |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#ConstraintWidget()()` Default constructor |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#ConstraintWidget(java.lang.String)(debugName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#ConstraintWidget(int,int)(width: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, height: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Constructor |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#ConstraintWidget(java.lang.String,int,int)(debugName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!, width: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, height: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#ConstraintWidget(int,int,int,int)(x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, width: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, height: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Constructor |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#ConstraintWidget(java.lang.String,int,int,int,int)(debugName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!, x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, width: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, height: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#addChildrenToSolverByDependency(androidx.constraintlayout.core.widgets.ConstraintWidgetContainer,androidx.constraintlayout.core.LinearSystem,java.util.HashSet<androidx.constraintlayout.core.widgets.ConstraintWidget>,int,boolean)( container: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidgetContainer!, system: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/LinearSystem!, widgets: https://developer.android.com/reference/java/util/HashSet.html<https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!>!, orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, addSelf: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html )` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#addToSolver(androidx.constraintlayout.core.LinearSystem,boolean)(system: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/LinearSystem!, optimize: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Add this widget to the solver |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#allowedInBarrier()()` Returns true if this widget should be used in a barrier |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#connect(androidx.constraintlayout.core.widgets.ConstraintAnchor.Type,androidx.constraintlayout.core.widgets.ConstraintWidget,androidx.constraintlayout.core.widgets.ConstraintAnchor.Type)( constraintFrom: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor.Type!, target: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!, constraintTo: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor.Type! )` Connect a given anchor of this widget to another anchor of a target widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#connect(androidx.constraintlayout.core.widgets.ConstraintAnchor,androidx.constraintlayout.core.widgets.ConstraintAnchor,int)(from: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!, to: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!, margin: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Connect the given anchors together (the from anchor should be owned by this widget) |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#connect(androidx.constraintlayout.core.widgets.ConstraintAnchor.Type,androidx.constraintlayout.core.widgets.ConstraintWidget,androidx.constraintlayout.core.widgets.ConstraintAnchor.Type,int)( constraintFrom: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor.Type!, target: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!, constraintTo: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor.Type!, margin: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html )` Connect a given anchor of this widget to another anchor of a target widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#connectCircularConstraint(androidx.constraintlayout.core.widgets.ConstraintWidget,float,int)( target: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!, angle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, radius: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html )` Set a circular constraint |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#copy(androidx.constraintlayout.core.widgets.ConstraintWidget,java.util.HashMap<androidx.constraintlayout.core.widgets.ConstraintWidget,androidx.constraintlayout.core.widgets.ConstraintWidget>)( src: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!, map: https://developer.android.com/reference/java/util/HashMap.html<https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!, 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/widgets/ConstraintWidget#createObjectVariables(androidx.constraintlayout.core.LinearSystem)(system: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/LinearSystem!)` Create all the system variables for this widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#ensureMeasureRequested()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#ensureWidgetRuns()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getAnchor(androidx.constraintlayout.core.widgets.ConstraintAnchor.Type)(anchorType: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor.Type!)` Given a type of anchor, returns the corresponding anchor. |
| `https://developer.android.com/reference/java/util/ArrayList.html<https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!>!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getAnchors()()` Return the array of anchors of this widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getBaselineDistance()()` Return the baseline distance relative to the top of the widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getBiasPercent(int)(orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Return the percentage bias that is used when two opposite connections exist of the same strength in a particular orientation. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getBottom()()` Return the bottom position of the widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getCompanionWidget()()` Return the companion widget. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getContainerItemSkip()()` Accessor for the skip value |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getDebugName()()` Returns the name of this widget (used for debug purposes) |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget.DimensionBehaviour!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getDimensionBehaviour(int)(orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Get the widget's `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget.DimensionBehaviour` in an specific orientation. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getDimensionRatio()()` Return the current ratio of this widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getDimensionRatioSide()()` Return the current side on which ratio will be applied |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getHasBaseline()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getHeight()()` Return the height of the widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getHorizontalBiasPercent()()` Return the horizontal percentage bias that is used when two opposite connections exist of the same strength. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getHorizontalChainControlWidget()()` if in a horizontal chain return the left most widget in the chain. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getHorizontalChainStyle()()` get the chain starting from this widget to be packed. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget.DimensionBehaviour!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getHorizontalDimensionBehaviour()()` Accessor for the horizontal dimension behaviour |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getHorizontalMargin()()` Returns all the horizontal margin of the widget. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getLastHorizontalMeasureSpec()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getLastVerticalMeasureSpec()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getLeft()()` Return the left position of the widget (similar to `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getX()`) |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getLength(int)(orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Get a dimension of the widget in a particular orientation. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getMaxHeight()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getMaxWidth()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getMinHeight()()` Return the minimum height of the widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getMinWidth()()` Return the minimum width of the widget |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getNextChainMember(int)(orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Return the next chain member if one exists |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getOptimizerWrapHeight()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getOptimizerWrapWidth()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getParent()()` Returns the parent of this widget if there is one |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getPreviousChainMember(int)(orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Return the previous chain member if one exists |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getRight()()` Return the right position of the widget |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/analyzer/WidgetRun!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getRun(int)(orientation: 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/widgets/ConstraintWidget#getSceneString(java.lang.StringBuilder)(ret: https://developer.android.com/reference/java/lang/StringBuilder.html!)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getTop()()` Return the top position of the widget (similar to `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getY()`) |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getType()()` Returns the type string if set |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getVerticalBiasPercent()()` Return the vertical percentage bias that is used when two opposite connections exist of the same strength. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getVerticalChainControlWidget()()` if in a vertical chain return the top most widget in the chain. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getVerticalChainStyle()()` Set the chain starting from this widget to be packed. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget.DimensionBehaviour!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getVerticalDimensionBehaviour()()` Accessor for the vertical dimension behaviour |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getVerticalMargin()()` Returns all the vertical margin of the widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getVisibility()()` Returns the current visibility value for this widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getWidth()()` Return the width of the widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getWrapBehaviorInParent()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getX()()` Return the x position of the widget, relative to its container |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getY()()` Return the y position of the widget, relative to its container |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#hasBaseline()()` Return true if this widget has a baseline |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#hasDanglingDimension(int)(orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#hasDependencies()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#hasDimensionOverride()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#hasResolvedTargets(int,int)(orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, size: 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/widgets/ConstraintWidget#immediateConnect(androidx.constraintlayout.core.widgets.ConstraintAnchor.Type,androidx.constraintlayout.core.widgets.ConstraintWidget,androidx.constraintlayout.core.widgets.ConstraintAnchor.Type,int,int)( startType: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor.Type!, target: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!, endType: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor.Type!, margin: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, goneMargin: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html )` Immediate connection to an anchor without any checks. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#isAnimated()()` Returns if this widget is animated. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#isHeightWrapContent()()` Returns true if height is set to wrap_content |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#isHorizontalSolvingPassDone()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#isInBarrier(int)(orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#isInHorizontalChain()()` Test if you are in a Horizontal chain |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#isInPlaceholder()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#isInVerticalChain()()` Test if you are in a vertical chain |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#isInVirtualLayout()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#isMeasureRequested()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#isResolvedHorizontally()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#isResolvedVertically()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#isRoot()()` Returns true if the widget is the root widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#isSpreadHeight()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#isSpreadWidth()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#isVerticalSolvingPassDone()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#isWidthWrapContent()()` Returns true if width is set to wrap_content |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#markHorizontalSolvingPassDone()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#markVerticalSolvingPassDone()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#oppositeDimensionDependsOn(int)(orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#oppositeDimensionsTied()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#reset()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#resetAllConstraints()()` Reset all the constraints set on this widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#resetAnchor(androidx.constraintlayout.core.widgets.ConstraintAnchor)(anchor: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!)` Reset the given anchor |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#resetAnchors()()` Reset all connections |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#resetFinalResolution()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#resetSolverVariables(androidx.constraintlayout.core.Cache)(cache: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/Cache!)` Reset the solver variables of the anchors |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#resetSolvingPassFlag()()` |
| `https://developer.android.com/reference/java/lang/StringBuilder.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#serialize(java.lang.StringBuilder)(ret: https://developer.android.com/reference/java/lang/StringBuilder.html!)` Serialize the anchors for JSON5 output |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setAnimated(boolean)(animated: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Set if this widget is animated. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setBaselineDistance(int)(baseline: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the baseline distance relative to the top of the widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setCompanionWidget(java.lang.Object)(companion: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` Set the companion widget. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setContainerItemSkip(int)(skip: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the skip value for this widget. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setDebugName(java.lang.String)(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!)` Set the debug name of this widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setDebugSolverName(androidx.constraintlayout.core.LinearSystem,java.lang.String)(system: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/LinearSystem!, name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!)` Utility debug function. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setDimension(int,int)(w: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, h: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set both width and height of the widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setDimensionRatio(java.lang.String)(ratio: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!)` Set the ratio of the widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setDimensionRatio(float,int)(ratio: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, dimensionRatioSide: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the ratio of the widget The ratio will be applied if at least one of the dimension (width or height) is set to a behaviour of DimensionBehaviour.MATCH_CONSTRAINT -- the dimension's value will be set to the other dimension \* ratio. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setFinalBaseline(int)(baselineValue: 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/widgets/ConstraintWidget#setFinalFrame(int,int,int,int,int,int)( left: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, top: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, right: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, bottom: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, baseline: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, orientation: 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/widgets/ConstraintWidget#setFinalHorizontal(int,int)(x1: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, x2: 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/widgets/ConstraintWidget#setFinalLeft(int)(x1: 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/widgets/ConstraintWidget#setFinalTop(int)(y1: 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/widgets/ConstraintWidget#setFinalVertical(int,int)(y1: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, y2: 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/widgets/ConstraintWidget#setFrame(int,int,int)(start: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, end: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the position+dimension of the widget based on starting/ending positions on one dimension. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setFrame(int,int,int,int)(left: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, top: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, right: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, bottom: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the position+dimension of the widget given left/top/right/bottom |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setGoneMargin(androidx.constraintlayout.core.widgets.ConstraintAnchor.Type,int)(type: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor.Type!, goneMargin: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the margin to be used when connected to a widget with a visibility of GONE |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setHasBaseline(boolean)(hasBaseline: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setHeight(int)(h: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the height of the widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setHeightWrapContent(boolean)(heightWrapContent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Keep track of wrap_content for height |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setHorizontalBiasPercent(float)(horizontalBiasPercent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` Set the horizontal bias percent to apply when we have two opposite constraints of equal strength |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setHorizontalChainStyle(int)(horizontalChainStyle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the chain starting from this widget to be packed. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setHorizontalDimension(int,int)(left: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, right: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the positions for the horizontal dimension only |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setHorizontalDimensionBehaviour(androidx.constraintlayout.core.widgets.ConstraintWidget.DimensionBehaviour)( behaviour: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget.DimensionBehaviour! )` Set the widget's behaviour for the horizontal dimension |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setHorizontalMatchStyle(int,int,int,float)( horizontalMatchStyle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, min: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, max: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, percent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` Set the horizontal style when MATCH_CONSTRAINT is set |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setHorizontalWeight(float)(horizontalWeight: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` Set the horizontal weight (only used in chains) |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setInPlaceholder(boolean)(inPlaceholder: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setInVirtualLayout(boolean)(inVirtualLayout: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setLastMeasureSpec(int,int)(horizontal: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, vertical: 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/widgets/ConstraintWidget#setLength(int,int)(length: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the dimension of a widget in a particular orientation. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setMaxHeight(int)(maxHeight: 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/widgets/ConstraintWidget#setMaxWidth(int)(maxWidth: 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/widgets/ConstraintWidget#setMeasureRequested(boolean)(measureRequested: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setMinHeight(int)(h: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the minimum height of the widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setMinWidth(int)(w: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the minimum width of the widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setOffset(int,int)(x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the offset of this widget relative to the root widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setOrigin(int,int)(x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set both the origin in (x, y) of the widget, relative to its container |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setParent(androidx.constraintlayout.core.widgets.ConstraintWidget)(widget: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!)` Set the parent of this widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setType(java.lang.String)(type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!)` Set the type of the widget (as a String) |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setVerticalBiasPercent(float)(verticalBiasPercent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` Set the vertical bias percent to apply when we have two opposite constraints of equal strength |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setVerticalChainStyle(int)(verticalChainStyle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the chain starting from this widget to be packed. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setVerticalDimension(int,int)(top: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, bottom: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the positions for the vertical dimension only |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setVerticalDimensionBehaviour(androidx.constraintlayout.core.widgets.ConstraintWidget.DimensionBehaviour)( behaviour: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget.DimensionBehaviour! )` Set the widget's behaviour for the vertical dimension |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setVerticalMatchStyle(int,int,int,float)( verticalMatchStyle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, min: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, max: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, percent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` Set the vertical style when MATCH_CONSTRAINT is set |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setVerticalWeight(float)(verticalWeight: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` Set the vertical weight (only used in chains) |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setVisibility(int)(visibility: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the visibility for this widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setWidth(int)(w: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the width of the widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setWidthWrapContent(boolean)(widthWrapContent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Keep track of wrap_content for width |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setWrapBehaviorInParent(int)(behavior: 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/widgets/ConstraintWidget#setX(int)(x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the x position of the widget, relative to its container |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setY(int)(y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the y position of the widget, relative to its container |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setupDimensionRatio(boolean,boolean,boolean,boolean)( hParentWrapContent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, vParentWrapContent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, horizontalDimensionFixed: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, verticalDimensionFixed: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html )` Resolves the dimension ratio parameters (mResolvedDimensionRatioSide \&mDimensionRatio) |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#toString()()` Returns a string representation of the ConstraintWidget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#updateFromRuns(boolean,boolean)(updateHorizontal: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, updateVertical: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#updateFromSolver(androidx.constraintlayout.core.LinearSystem,boolean)(system: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/LinearSystem!, optimize: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Update the widget from the values generated by the solver |

| ### Protected functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getRootX()()` Return the x position of the widget, relative to the root (without animation) |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getRootY()()` Return the y position of the widget, relative to the root (without animation) |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#setInBarrier(int,boolean)(orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` |

| ### Public properties |
|---|---|
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#DEFAULT_BIAS()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/WidgetFrame!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#frame()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/analyzer/ChainRun!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#horizontalChainRun()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#horizontalGroup()` ////////////////////////////////END SERIALIZE/////////////////////////////////////////// |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html>!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#isTerminalWidget()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mBaseline()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mBottom()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mCenter()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mCircleConstraintAngle()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mDimensionRatio()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mHorizontalResolution()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/analyzer/HorizontalWidgetRun!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mHorizontalRun()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mIsHeightWrapContent()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mIsWidthWrapContent()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mLeft()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!>!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mListAnchors()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget.DimensionBehaviour!>!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mListDimensionBehaviors()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mMatchConstraintDefaultHeight()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mMatchConstraintDefaultWidth()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mMatchConstraintMaxHeight()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mMatchConstraintMaxWidth()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mMatchConstraintMinHeight()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mMatchConstraintMinWidth()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mMatchConstraintPercentHeight()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mMatchConstraintPercentWidth()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mParent()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html>!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mResolvedMatchConstraintDefault()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mRight()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mTop()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mVerticalResolution()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/analyzer/VerticalWidgetRun!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mVerticalRun()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html>!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mWeight()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#measured()` ///////////////////////////////////////////////////////////////////////////////////////////// |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/analyzer/WidgetRun!>!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#run()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#stringId()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/analyzer/ChainRun!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#verticalChainRun()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#verticalGroup()` |

| ### Protected properties |
|---|---|
| `https://developer.android.com/reference/java/util/ArrayList.html<https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!>!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mAnchors()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mDimensionRatioSide()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!>!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mListNextMatchConstraintsWidget()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mMinHeight()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mMinWidth()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!>!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mNextChainWidget()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mOffsetX()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mOffsetY()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mX()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#mY()` |

## Constants

### ANCHOR_BASELINE

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

```
const val ANCHOR_BASELINE = 4: Int
```

### ANCHOR_BOTTOM

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

```
const val ANCHOR_BOTTOM = 3: Int
```

### ANCHOR_LEFT

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

```
const val ANCHOR_LEFT = 0: Int
```

### ANCHOR_RIGHT

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

```
const val ANCHOR_RIGHT = 1: Int
```

### ANCHOR_TOP

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

```
const val ANCHOR_TOP = 2: Int
```

### BOTH

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

```
const val BOTH = 2: Int
```

### CHAIN_PACKED

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

```
const val CHAIN_PACKED = 2: Int
```

### CHAIN_SPREAD

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

```
const val CHAIN_SPREAD = 0: Int
```

### CHAIN_SPREAD_INSIDE

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

```
const val CHAIN_SPREAD_INSIDE = 1: Int
```

### DIRECT

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

```
protected const val DIRECT = 2: Int
```

### GONE

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

```
const val GONE = 8: Int
```

### HORIZONTAL

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

```
const val HORIZONTAL = 0: Int
```

### INVISIBLE

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

```
const val INVISIBLE = 4: Int
```

### MATCH_CONSTRAINT_PERCENT

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

```
const val MATCH_CONSTRAINT_PERCENT = 2: Int
```

### MATCH_CONSTRAINT_RATIO

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

```
const val MATCH_CONSTRAINT_RATIO = 3: Int
```

### MATCH_CONSTRAINT_RATIO_RESOLVED

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

```
const val MATCH_CONSTRAINT_RATIO_RESOLVED = 4: Int
```

### MATCH_CONSTRAINT_SPREAD

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

```
const val MATCH_CONSTRAINT_SPREAD = 0: Int
```

/////////////////////////////////////////////////////////////////////////////////////////////

### MATCH_CONSTRAINT_WRAP

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

```
const val MATCH_CONSTRAINT_WRAP = 1: Int
```

### SOLVER

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

```
protected const val SOLVER = 1: Int
```

### UNKNOWN

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

```
const val UNKNOWN = -1: Int
```

### VERTICAL

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

```
const val VERTICAL = 1: Int
```

### VISIBLE

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

```
const val VISIBLE = 0: Int
```

### WRAP_BEHAVIOR_HORIZONTAL_ONLY

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

```
const val WRAP_BEHAVIOR_HORIZONTAL_ONLY = 1: Int
```

### WRAP_BEHAVIOR_INCLUDED

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

```
const val WRAP_BEHAVIOR_INCLUDED = 0: Int
```

### WRAP_BEHAVIOR_SKIPPED

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

```
const val WRAP_BEHAVIOR_SKIPPED = 3: Int
```

### WRAP_BEHAVIOR_VERTICAL_ONLY

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

```
const val WRAP_BEHAVIOR_VERTICAL_ONLY = 2: Int
```

## Public constructors

### ConstraintWidget

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

```
ConstraintWidget()
```

Default constructor

### ConstraintWidget

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

```
ConstraintWidget(debugName: String!)
```

### ConstraintWidget

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

```
ConstraintWidget(width: Int, height: Int)
```

Constructor

| Parameters |
|---|---|
| `width: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | width of the layout |
| `height: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | height of the layout |

### ConstraintWidget

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

```
ConstraintWidget(debugName: String!, width: Int, height: Int)
```

### ConstraintWidget

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

```
ConstraintWidget(x: Int, y: Int, width: Int, height: Int)
```

Constructor

| Parameters |
|---|---|
| `x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | x position |
| `y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | y position |
| `width: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | width of the layout |
| `height: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | height of the layout |

### ConstraintWidget

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

```
ConstraintWidget(debugName: String!, x: Int, y: Int, width: Int, height: Int)
```

## Public functions

### addChildrenToSolverByDependency

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

```
fun addChildrenToSolverByDependency(
    container: ConstraintWidgetContainer!,
    system: LinearSystem!,
    widgets: HashSet<ConstraintWidget!>!,
    orientation: Int,
    addSelf: Boolean
): Unit
```

### addToSolver

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

```
fun addToSolver(system: LinearSystem!, optimize: Boolean): Unit
```

Add this widget to the solver

| Parameters |
|---|---|
| `system: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/LinearSystem!` | the solver we want to add the widget to |
| `optimize: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | true if `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/Optimizer#OPTIMIZATION_GRAPH()` is on |

### allowedInBarrier

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

```
fun allowedInBarrier(): Boolean
```

Returns true if this widget should be used in a barrier

### connect

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

```
fun connect(
    constraintFrom: ConstraintAnchor.Type!,
    target: ConstraintWidget!,
    constraintTo: ConstraintAnchor.Type!
): Unit
```

Connect a given anchor of this widget to another anchor of a target widget

| Parameters |
|---|---|
| `constraintFrom: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor.Type!` | which anchor of this widget to connect from |
| `target: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | the target widget |
| `constraintTo: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor.Type!` | the target anchor on the target widget |

### connect

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

```
fun connect(from: ConstraintAnchor!, to: ConstraintAnchor!, margin: Int): Unit
```

Connect the given anchors together (the from anchor should be owned by this widget)

| Parameters |
|---|---|
| `from: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!` | the anchor we are connecting from (of this widget) |
| `to: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!` | the anchor we are connecting to |
| `margin: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | how much margin we want to have |

### connect

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

```
fun connect(
    constraintFrom: ConstraintAnchor.Type!,
    target: ConstraintWidget!,
    constraintTo: ConstraintAnchor.Type!,
    margin: Int
): Unit
```

Connect a given anchor of this widget to another anchor of a target widget

| Parameters |
|---|---|
| `constraintFrom: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor.Type!` | which anchor of this widget to connect from |
| `target: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | the target widget |
| `constraintTo: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor.Type!` | the target anchor on the target widget |
| `margin: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | how much margin we want to keep as a minimum distance between the two anchors |

### connectCircularConstraint

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

```
fun connectCircularConstraint(
    target: ConstraintWidget!,
    angle: Float,
    radius: Int
): Unit
```

Set a circular constraint

| Parameters |
|---|---|
| `target: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | the target widget we will use as the center of the circle |
| `angle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | the angle (from 0 to 360) |
| `radius: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | the radius used |

### copy

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

```
fun copy(
    src: ConstraintWidget!,
    map: HashMap<ConstraintWidget!, ConstraintWidget!>!
): Unit
```

### createObjectVariables

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

```
fun createObjectVariables(system: LinearSystem!): Unit
```

Create all the system variables for this widget

### ensureMeasureRequested

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

```
fun ensureMeasureRequested(): Unit
```

### ensureWidgetRuns

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

```
fun ensureWidgetRuns(): Unit
```

### getAnchor

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

```
fun getAnchor(anchorType: ConstraintAnchor.Type!): ConstraintAnchor!
```

Given a type of anchor, returns the corresponding anchor.

| Parameters |
|---|---|
| `anchorType: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor.Type!` | type of the anchor (LEFT, TOP, RIGHT, BOTTOM, BASELINE, CENTER_X, CENTER_Y) |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!` | the matching anchor |

### getAnchors

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

```
fun getAnchors(): ArrayList<ConstraintAnchor!>!
```

Return the array of anchors of this widget

| Returns |
|---|---|
| `https://developer.android.com/reference/java/util/ArrayList.html<https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!>!` | array of anchors |

### getBaselineDistance

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

```
fun getBaselineDistance(): Int
```

Return the baseline distance relative to the top of the widget

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

### getBiasPercent

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

```
fun getBiasPercent(orientation: Int): Float
```

Return the percentage bias that is used when two opposite connections exist of the same strength in a particular orientation.

| Parameters |
|---|---|
| `orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | Orientation `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#HORIZONTAL()`/`https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#VERTICAL()`. |

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | Respective percentage bias. |

### getBottom

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

```
fun getBottom(): Int
```

Return the bottom position of the widget

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | bottom position of the widget |

### getCompanionWidget

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

```
fun getCompanionWidget(): Any!
```

Return the companion widget. Typically, this would be the real widget we represent with this instance of ConstraintWidget.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | the companion widget, if set. |

### getContainerItemSkip

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

```
fun getContainerItemSkip(): Int
```

Accessor for the skip value

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

### getDebugName

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

```
fun getDebugName(): String!
```

Returns the name of this widget (used for debug purposes)

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | the debug name |

### getDimensionBehaviour

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

```
fun getDimensionBehaviour(orientation: Int): ConstraintWidget.DimensionBehaviour!
```

Get the widget's `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget.DimensionBehaviour` in an specific orientation.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget.DimensionBehaviour!` | The `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget.DimensionBehaviour` of the widget. |

### getDimensionRatio

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

```
fun getDimensionRatio(): Float
```

Return the current ratio of this widget

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | the dimension ratio (HORIZONTAL, VERTICAL, or UNKNOWN) |

### getDimensionRatioSide

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

```
fun getDimensionRatioSide(): Int
```

Return the current side on which ratio will be applied

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | HORIZONTAL, VERTICAL, or UNKNOWN |

### getHasBaseline

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

```
fun getHasBaseline(): Boolean
```

### getHeight

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

```
fun getHeight(): Int
```

Return the height of the widget

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

### getHorizontalBiasPercent

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

```
fun getHorizontalBiasPercent(): Float
```

Return the horizontal percentage bias that is used when two opposite connections exist of the same strength.

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

### getHorizontalChainControlWidget

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

```
fun getHorizontalChainControlWidget(): ConstraintWidget!
```

if in a horizontal chain return the left most widget in the chain.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | left most widget in chain or null |

### getHorizontalChainStyle

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

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

get the chain starting from this widget to be packed. The horizontal bias will control how elements of the chain are positioned.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | Horizontal Chain Style |

### getHorizontalDimensionBehaviour

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

```
fun getHorizontalDimensionBehaviour(): ConstraintWidget.DimensionBehaviour!
```

Accessor for the horizontal dimension behaviour

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget.DimensionBehaviour!` | dimension behaviour |

### getHorizontalMargin

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

```
fun getHorizontalMargin(): Int
```

Returns all the horizontal margin of the widget.

### getLastHorizontalMeasureSpec

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

```
fun getLastHorizontalMeasureSpec(): Int
```

### getLastVerticalMeasureSpec

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

```
fun getLastVerticalMeasureSpec(): Int
```

### getLeft

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

```
fun getLeft(): Int
```

Return the left position of the widget (similar to `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getX()`)

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | left position of the widget |

### getLength

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

```
fun getLength(orientation: Int): Int
```

Get a dimension of the widget in a particular orientation.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The dimension of the specified orientation. |

### getMaxHeight

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

```
fun getMaxHeight(): Int
```

### getMaxWidth

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

```
fun getMaxWidth(): Int
```

### getMinHeight

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

```
fun getMinHeight(): Int
```

Return the minimum height of the widget

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

### getMinWidth

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

```
fun getMinWidth(): Int
```

Return the minimum width of the widget

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

### getNextChainMember

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

```
fun getNextChainMember(orientation: Int): ConstraintWidget!
```

Return the next chain member if one exists

| Parameters |
|---|---|
| `orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | HORIZONTAL or VERTICAL |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | the next chain member or null if we are the last chain element |

### getOptimizerWrapHeight

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

```
fun getOptimizerWrapHeight(): Int
```

### getOptimizerWrapWidth

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

```
fun getOptimizerWrapWidth(): Int
```

### getParent

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

```
fun getParent(): ConstraintWidget!
```

Returns the parent of this widget if there is one

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | parent |

### getPreviousChainMember

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

```
fun getPreviousChainMember(orientation: Int): ConstraintWidget!
```

Return the previous chain member if one exists

| Parameters |
|---|---|
| `orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | HORIZONTAL or VERTICAL |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | the previous chain member or null if we are the first chain element |

### getRight

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

```
fun getRight(): Int
```

Return the right position of the widget

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | right position of the widget |

### getRun

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

```
fun getRun(orientation: Int): WidgetRun!
```

### getSceneString

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

```
fun getSceneString(ret: StringBuilder!): Unit
```

### getTop

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

```
fun getTop(): Int
```

Return the top position of the widget (similar to `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget#getY()`)

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | top position of the widget |

### getType

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

```
fun getType(): String!
```

Returns the type string if set

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | type (null if not set) |

### getVerticalBiasPercent

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

```
fun getVerticalBiasPercent(): Float
```

Return the vertical percentage bias that is used when two opposite connections exist of the same strength.

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

### getVerticalChainControlWidget

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

```
fun getVerticalChainControlWidget(): ConstraintWidget!
```

if in a vertical chain return the top most widget in the chain.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | top most widget in chain or null |

### getVerticalChainStyle

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

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

Set the chain starting from this widget to be packed. The vertical bias will control how elements of the chain are positioned.

### getVerticalDimensionBehaviour

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

```
fun getVerticalDimensionBehaviour(): ConstraintWidget.DimensionBehaviour!
```

Accessor for the vertical dimension behaviour

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget.DimensionBehaviour!` | dimension behaviour |

### getVerticalMargin

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

```
fun getVerticalMargin(): Int
```

Returns all the vertical margin of the widget

### getVisibility

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

```
fun getVisibility(): Int
```

Returns the current visibility value for this widget

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | the visibility (VISIBLE, INVISIBLE, or GONE) |

### getWidth

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

```
fun getWidth(): Int
```

Return the width of the widget

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

### getWrapBehaviorInParent

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

```
fun getWrapBehaviorInParent(): Int
```

### getX

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

```
fun getX(): Int
```

Return the x position of the widget, relative to its container

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

### getY

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

```
fun getY(): Int
```

Return the y position of the widget, relative to its container

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

### hasBaseline

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

```
fun hasBaseline(): Boolean
```

Return true if this widget has a baseline

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | true if the widget has a baseline, false otherwise |

### hasDanglingDimension

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

```
fun hasDanglingDimension(orientation: Int): Boolean
```

### hasDependencies

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

```
fun hasDependencies(): Boolean
```

### hasDimensionOverride

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

```
fun hasDimensionOverride(): Boolean
```

### hasResolvedTargets

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

```
fun hasResolvedTargets(orientation: Int, size: Int): Boolean
```

### immediateConnect

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

```
fun immediateConnect(
    startType: ConstraintAnchor.Type!,
    target: ConstraintWidget!,
    endType: ConstraintAnchor.Type!,
    margin: Int,
    goneMargin: Int
): Unit
```

Immediate connection to an anchor without any checks.

| Parameters |
|---|---|
| `startType: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor.Type!` | The type of anchor on this widget |
| `target: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | The target widget |
| `endType: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor.Type!` | The type of anchor on the target widget |
| `margin: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | How much margin we want to keep as a minimum distance between the two anchors |
| `goneMargin: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | How much margin we want to keep if the target is set to `View.GONE` |

### isAnimated

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

```
fun isAnimated(): Boolean
```

Returns if this widget is animated. Currently only affects gone behaviour

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | true if ConstraintWidget is used in Animation |

### isHeightWrapContent

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

```
fun isHeightWrapContent(): Boolean
```

Returns true if height is set to wrap_content

### isHorizontalSolvingPassDone

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

```
fun isHorizontalSolvingPassDone(): Boolean
```

### isInBarrier

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

```
fun isInBarrier(orientation: Int): Boolean
```

### isInHorizontalChain

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

```
fun isInHorizontalChain(): Boolean
```

Test if you are in a Horizontal chain

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | true if in a horizontal chain |

### isInPlaceholder

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

```
fun isInPlaceholder(): Boolean
```

### isInVerticalChain

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

```
fun isInVerticalChain(): Boolean
```

Test if you are in a vertical chain

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | true if in a vertical chain |

### isInVirtualLayout

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

```
fun isInVirtualLayout(): Boolean
```

### isMeasureRequested

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

```
fun isMeasureRequested(): Boolean
```

### isResolvedHorizontally

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

```
fun isResolvedHorizontally(): Boolean
```

### isResolvedVertically

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

```
fun isResolvedVertically(): Boolean
```

### isRoot

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

```
fun isRoot(): Boolean
```

Returns true if the widget is the root widget

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | true if root widget, false otherwise |

### isSpreadHeight

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

```
fun isSpreadHeight(): Boolean
```

### isSpreadWidth

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

```
fun isSpreadWidth(): Boolean
```

### isVerticalSolvingPassDone

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

```
fun isVerticalSolvingPassDone(): Boolean
```

### isWidthWrapContent

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

```
fun isWidthWrapContent(): Boolean
```

Returns true if width is set to wrap_content

### markHorizontalSolvingPassDone

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

```
fun markHorizontalSolvingPassDone(): Unit
```

### markVerticalSolvingPassDone

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

```
fun markVerticalSolvingPassDone(): Unit
```

### oppositeDimensionDependsOn

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

```
fun oppositeDimensionDependsOn(orientation: Int): Boolean
```

### oppositeDimensionsTied

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

```
fun oppositeDimensionsTied(): Boolean
```

### reset

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

```
fun reset(): Unit
```

### resetAllConstraints

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

```
fun resetAllConstraints(): Unit
```

Reset all the constraints set on this widget

### resetAnchor

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

```
fun resetAnchor(anchor: ConstraintAnchor!): Unit
```

Reset the given anchor

| Parameters |
|---|---|
| `anchor: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor!` | the anchor we want to reset |

### resetAnchors

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

```
fun resetAnchors(): Unit
```

Reset all connections

### resetFinalResolution

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

```
fun resetFinalResolution(): Unit
```

### resetSolverVariables

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

```
fun resetSolverVariables(cache: Cache!): Unit
```

Reset the solver variables of the anchors

### resetSolvingPassFlag

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

```
fun resetSolvingPassFlag(): Unit
```

### serialize

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

```
fun serialize(ret: StringBuilder!): StringBuilder!
```

Serialize the anchors for JSON5 output

| Parameters |
|---|---|
| `ret: https://developer.android.com/reference/java/lang/StringBuilder.html!` | StringBuilder to be populated |

| Returns |
|---|---|
| `https://developer.android.com/reference/java/lang/StringBuilder.html!` | the same string builder to alow chaining |

### setAnimated

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

```
fun setAnimated(animated: Boolean): Unit
```

Set if this widget is animated. Currently only affects gone behaviour

| Parameters |
|---|---|
| `animated: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | if true the widget must be positioned correctly when not visible |

### setBaselineDistance

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

```
fun setBaselineDistance(baseline: Int): Unit
```

Set the baseline distance relative to the top of the widget

| Parameters |
|---|---|
| `baseline: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | the distance of the baseline relative to the widget's top |

### setCompanionWidget

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

```
fun setCompanionWidget(companion: Any!): Unit
```

Set the companion widget. Typically, this would be the real widget we represent with this instance of ConstraintWidget.

### setContainerItemSkip

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

```
fun setContainerItemSkip(skip: Int): Unit
```

Set the skip value for this widget. This can be used when a widget is in a container, so that container can position the widget as if it was positioned further in the list of widgets. For example, with Table, this is used to skip empty cells (the widget after an empty cell will have a skip value of one)

### setDebugName

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

```
fun setDebugName(name: String!): Unit
```

Set the debug name of this widget

### setDebugSolverName

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

```
fun setDebugSolverName(system: LinearSystem!, name: String!): Unit
```

Utility debug function. Sets the names of the anchors in the solver given a widget's name. The given name is used as a prefix, resulting in anchors' names of the form:

- {name}.left
- {name}.top
- {name}.right
- {name}.bottom
- {name}.baseline

| Parameters |
|---|---|
| `system: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/LinearSystem!` | solver used |
| `name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | name of the widget |

### setDimension

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

```
fun setDimension(w: Int, h: Int): Unit
```

Set both width and height of the widget

| Parameters |
|---|---|
| `w: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | width |
| `h: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | height |

### setDimensionRatio

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

```
fun setDimensionRatio(ratio: String!): Unit
```

Set the ratio of the widget

| Parameters |
|---|---|
| `ratio: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | given string of format \[H\|V\],\[float\|x:y\] or \[float\|x:y\] |

### setDimensionRatio

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

```
fun setDimensionRatio(ratio: Float, dimensionRatioSide: Int): Unit
```

Set the ratio of the widget The ratio will be applied if at least one of the dimension (width or height) is set to a behaviour of DimensionBehaviour.MATCH_CONSTRAINT -- the dimension's value will be set to the other dimension \* ratio.

| Parameters |
|---|---|
| `ratio: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | A float value that describes W/H or H/W depending on the provided dimensionRatioSide |
| `dimensionRatioSide: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The side the ratio should be calculated on, HORIZONTAL, VERTICAL, or UNKNOWN |

### setFinalBaseline

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

```
fun setFinalBaseline(baselineValue: Int): Unit
```

### setFinalFrame

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

```
fun setFinalFrame(
    left: Int,
    top: Int,
    right: Int,
    bottom: Int,
    baseline: Int,
    orientation: Int
): Unit
```

### setFinalHorizontal

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

```
fun setFinalHorizontal(x1: Int, x2: Int): Unit
```

### setFinalLeft

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

```
fun setFinalLeft(x1: Int): Unit
```

### setFinalTop

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

```
fun setFinalTop(y1: Int): Unit
```

### setFinalVertical

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

```
fun setFinalVertical(y1: Int, y2: Int): Unit
```

### setFrame

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

```
fun setFrame(start: Int, end: Int, orientation: Int): Unit
```

Set the position+dimension of the widget based on starting/ending positions on one dimension.

| Parameters |
|---|---|
| `start: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | Left/Top side position of the widget. |
| `end: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | Right/Bottom side position of the widget. |
| `orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | Orientation being set (HORIZONTAL/VERTICAL). |

### setFrame

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

```
fun setFrame(left: Int, top: Int, right: Int, bottom: Int): Unit
```

Set the position+dimension of the widget given left/top/right/bottom

| Parameters |
|---|---|
| `left: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | left side position of the widget |
| `top: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | top side position of the widget |
| `right: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | right side position of the widget |
| `bottom: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | bottom side position of the widget |

### setGoneMargin

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

```
fun setGoneMargin(type: ConstraintAnchor.Type!, goneMargin: Int): Unit
```

Set the margin to be used when connected to a widget with a visibility of GONE

| Parameters |
|---|---|
| `type: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintAnchor.Type!` | the anchor to set the margin on |
| `goneMargin: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | the margin value to use |

### setHasBaseline

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

```
fun setHasBaseline(hasBaseline: Boolean): Unit
```

### setHeight

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

```
fun setHeight(h: Int): Unit
```

Set the height of the widget

| Parameters |
|---|---|
| `h: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | height |

### setHeightWrapContent

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

```
fun setHeightWrapContent(heightWrapContent: Boolean): Unit
```

Keep track of wrap_content for height

### setHorizontalBiasPercent

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

```
fun setHorizontalBiasPercent(horizontalBiasPercent: Float): Unit
```

Set the horizontal bias percent to apply when we have two opposite constraints of equal strength

| Parameters |
|---|---|
| `horizontalBiasPercent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | the percentage used |

### setHorizontalChainStyle

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

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

Set the chain starting from this widget to be packed. The horizontal bias will control how elements of the chain are positioned.

| Parameters |
|---|---|
| `horizontalChainStyle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | (CHAIN_SPREAD, CHAIN_SPREAD_INSIDE, CHAIN_PACKED) |

### setHorizontalDimension

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

```
fun setHorizontalDimension(left: Int, right: Int): Unit
```

Set the positions for the horizontal dimension only

| Parameters |
|---|---|
| `left: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | left side position of the widget |
| `right: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | right side position of the widget |

### setHorizontalDimensionBehaviour

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

```
fun setHorizontalDimensionBehaviour(
    behaviour: ConstraintWidget.DimensionBehaviour!
): Unit
```

Set the widget's behaviour for the horizontal dimension

| Parameters |
|---|---|
| `behaviour: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget.DimensionBehaviour!` | the horizontal dimension's behaviour |

### setHorizontalMatchStyle

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

```
fun setHorizontalMatchStyle(
    horizontalMatchStyle: Int,
    min: Int,
    max: Int,
    percent: Float
): Unit
```

Set the horizontal style when MATCH_CONSTRAINT is set

| Parameters |
|---|---|
| `horizontalMatchStyle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | MATCH_CONSTRAINT_SPREAD or MATCH_CONSTRAINT_WRAP |
| `min: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | minimum value |
| `max: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | maximum value |
| `percent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | Percent width |

### setHorizontalWeight

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

```
fun setHorizontalWeight(horizontalWeight: Float): Unit
```

Set the horizontal weight (only used in chains)

| Parameters |
|---|---|
| `horizontalWeight: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | Floating point value weight |

### setInPlaceholder

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

```
fun setInPlaceholder(inPlaceholder: Boolean): Unit
```

### setInVirtualLayout

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

```
fun setInVirtualLayout(inVirtualLayout: Boolean): Unit
```

### setLastMeasureSpec

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

```
fun setLastMeasureSpec(horizontal: Int, vertical: Int): Unit
```

### setLength

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

```
fun setLength(length: Int, orientation: Int): Unit
```

Set the dimension of a widget in a particular orientation.

| Parameters |
|---|---|
| `length: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | Size of the dimension. |
| `orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | HORIZONTAL or VERTICAL |

### setMaxHeight

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

```
fun setMaxHeight(maxHeight: Int): Unit
```

### setMaxWidth

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

```
fun setMaxWidth(maxWidth: Int): Unit
```

### setMeasureRequested

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

```
fun setMeasureRequested(measureRequested: Boolean): Unit
```

### setMinHeight

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

```
fun setMinHeight(h: Int): Unit
```

Set the minimum height of the widget

| Parameters |
|---|---|
| `h: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | minimum height |

### setMinWidth

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

```
fun setMinWidth(w: Int): Unit
```

Set the minimum width of the widget

| Parameters |
|---|---|
| `w: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | minimum width |

### setOffset

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

```
fun setOffset(x: Int, y: Int): Unit
```

Set the offset of this widget relative to the root widget

| Parameters |
|---|---|
| `x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | horizontal offset |
| `y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | vertical offset |

### setOrigin

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

```
fun setOrigin(x: Int, y: Int): Unit
```

Set both the origin in (x, y) of the widget, relative to its container

| Parameters |
|---|---|
| `x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | x position |
| `y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | y position |

### setParent

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

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

Set the parent of this widget

| Parameters |
|---|---|
| `widget: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | parent |

### setType

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

```
fun setType(type: String!): Unit
```

Set the type of the widget (as a String)

| Parameters |
|---|---|
| `type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | type of the widget |

### setVerticalBiasPercent

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

```
fun setVerticalBiasPercent(verticalBiasPercent: Float): Unit
```

Set the vertical bias percent to apply when we have two opposite constraints of equal strength

| Parameters |
|---|---|
| `verticalBiasPercent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | the percentage used |

### setVerticalChainStyle

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

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

Set the chain starting from this widget to be packed. The vertical bias will control how elements of the chain are positioned.

| Parameters |
|---|---|
| `verticalChainStyle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | (CHAIN_SPREAD, CHAIN_SPREAD_INSIDE, CHAIN_PACKED) |

### setVerticalDimension

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

```
fun setVerticalDimension(top: Int, bottom: Int): Unit
```

Set the positions for the vertical dimension only

| Parameters |
|---|---|
| `top: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | top side position of the widget |
| `bottom: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | bottom side position of the widget |

### setVerticalDimensionBehaviour

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

```
fun setVerticalDimensionBehaviour(
    behaviour: ConstraintWidget.DimensionBehaviour!
): Unit
```

Set the widget's behaviour for the vertical dimension

| Parameters |
|---|---|
| `behaviour: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget.DimensionBehaviour!` | the vertical dimension's behaviour |

### setVerticalMatchStyle

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

```
fun setVerticalMatchStyle(
    verticalMatchStyle: Int,
    min: Int,
    max: Int,
    percent: Float
): Unit
```

Set the vertical style when MATCH_CONSTRAINT is set

| Parameters |
|---|---|
| `verticalMatchStyle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | MATCH_CONSTRAINT_SPREAD or MATCH_CONSTRAINT_WRAP |
| `min: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | minimum value |
| `max: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | maximum value |
| `percent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | Percent height |

### setVerticalWeight

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

```
fun setVerticalWeight(verticalWeight: Float): Unit
```

Set the vertical weight (only used in chains)

| Parameters |
|---|---|
| `verticalWeight: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | Floating point value weight |

### setVisibility

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

```
fun setVisibility(visibility: Int): Unit
```

Set the visibility for this widget

| Parameters |
|---|---|
| `visibility: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | either VISIBLE, INVISIBLE, or GONE |

### setWidth

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

```
fun setWidth(w: Int): Unit
```

Set the width of the widget

| Parameters |
|---|---|
| `w: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | width |

### setWidthWrapContent

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

```
fun setWidthWrapContent(widthWrapContent: Boolean): Unit
```

Keep track of wrap_content for width

### setWrapBehaviorInParent

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

```
fun setWrapBehaviorInParent(behavior: Int): Unit
```

### setX

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

```
fun setX(x: Int): Unit
```

Set the x position of the widget, relative to its container

| Parameters |
|---|---|
| `x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | x position |

### setY

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

```
fun setY(y: Int): Unit
```

Set the y position of the widget, relative to its container

| Parameters |
|---|---|
| `y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | y position |

### setupDimensionRatio

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

```
fun setupDimensionRatio(
    hParentWrapContent: Boolean,
    vParentWrapContent: Boolean,
    horizontalDimensionFixed: Boolean,
    verticalDimensionFixed: Boolean
): Unit
```

Resolves the dimension ratio parameters (mResolvedDimensionRatioSide \&mDimensionRatio)

| Parameters |
|---|---|
| `hParentWrapContent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | true if parent is in wrap content horizontally |
| `vParentWrapContent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | true if parent is in wrap content vertically |
| `horizontalDimensionFixed: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | true if this widget horizontal dimension is fixed |
| `verticalDimensionFixed: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | true if this widget vertical dimension is fixed |

### toString

```
fun toString(): String!
```

Returns a string representation of the ConstraintWidget

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | string representation of the widget |

### updateFromRuns

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

```
fun updateFromRuns(updateHorizontal: Boolean, updateVertical: Boolean): Unit
```

### updateFromSolver

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

```
fun updateFromSolver(system: LinearSystem!, optimize: Boolean): Unit
```

Update the widget from the values generated by the solver

| Parameters |
|---|---|
| `system: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/LinearSystem!` | the solver we get the values from. |
| `optimize: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | true if `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/Optimizer#OPTIMIZATION_GRAPH()` is on |

## Protected functions

### getRootX

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

```
protected fun getRootX(): Int
```

Return the x position of the widget, relative to the root (without animation)

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

### getRootY

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

```
protected fun getRootY(): Int
```

Return the y position of the widget, relative to the root (without animation)

### setInBarrier

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

```
protected fun setInBarrier(orientation: Int, value: Boolean): Unit
```

## Public properties

### DEFAULT_BIAS

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

```
java-static val DEFAULT_BIAS: Float
```

### frame

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

```
val frame: WidgetFrame!
```

### horizontalChainRun

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

```
val horizontalChainRun: ChainRun!
```

### horizontalGroup

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

```
val horizontalGroup: Int
```

////////////////////////////////END SERIALIZE///////////////////////////////////////////

### isTerminalWidget

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

```
val isTerminalWidget: Array<Boolean>!
```

### mBaseline

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

```
val mBaseline: ConstraintAnchor!
```

### mBottom

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

```
val mBottom: ConstraintAnchor!
```

### mCenter

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

```
val mCenter: ConstraintAnchor!
```

### mCircleConstraintAngle

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

```
val mCircleConstraintAngle: Float
```

### mDimensionRatio

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

```
val mDimensionRatio: Float
```

### mHorizontalResolution

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

```
val mHorizontalResolution: Int
```

### mHorizontalRun

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

```
val mHorizontalRun: HorizontalWidgetRun!
```

### mIsHeightWrapContent

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

```
val mIsHeightWrapContent: Boolean
```

### mIsWidthWrapContent

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

```
val mIsWidthWrapContent: Boolean
```

### mLeft

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

```
val mLeft: ConstraintAnchor!
```

### mListAnchors

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

```
val mListAnchors: Array<ConstraintAnchor!>!
```

### mListDimensionBehaviors

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

```
val mListDimensionBehaviors: Array<ConstraintWidget.DimensionBehaviour!>!
```

### mMatchConstraintDefaultHeight

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

```
val mMatchConstraintDefaultHeight: Int
```

### mMatchConstraintDefaultWidth

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

```
val mMatchConstraintDefaultWidth: Int
```

### mMatchConstraintMaxHeight

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

```
val mMatchConstraintMaxHeight: Int
```

### mMatchConstraintMaxWidth

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

```
val mMatchConstraintMaxWidth: Int
```

### mMatchConstraintMinHeight

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

```
val mMatchConstraintMinHeight: Int
```

### mMatchConstraintMinWidth

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

```
val mMatchConstraintMinWidth: Int
```

### mMatchConstraintPercentHeight

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

```
val mMatchConstraintPercentHeight: Float
```

### mMatchConstraintPercentWidth

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

```
val mMatchConstraintPercentWidth: Float
```

### mParent

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

```
val mParent: ConstraintWidget!
```

### mResolvedMatchConstraintDefault

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

```
val mResolvedMatchConstraintDefault: Array<Int>!
```

### mRight

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

```
val mRight: ConstraintAnchor!
```

### mTop

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

```
val mTop: ConstraintAnchor!
```

### mVerticalResolution

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

```
val mVerticalResolution: Int
```

### mVerticalRun

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

```
val mVerticalRun: VerticalWidgetRun!
```

### mWeight

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

```
val mWeight: Array<Float>!
```

### measured

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

```
val measured: Boolean
```

/////////////////////////////////////////////////////////////////////////////////////////////

### run

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

```
val run: Array<WidgetRun!>!
```

### stringId

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

```
val stringId: String!
```

### verticalChainRun

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

```
val verticalChainRun: ChainRun!
```

### verticalGroup

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

```
val verticalGroup: Int
```

## Protected properties

### mAnchors

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

```
protected val mAnchors: ArrayList<ConstraintAnchor!>!
```

### mDimensionRatioSide

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

```
protected val mDimensionRatioSide: Int
```

### mListNextMatchConstraintsWidget

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

```
protected val mListNextMatchConstraintsWidget: Array<ConstraintWidget!>!
```

### mMinHeight

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

```
protected val mMinHeight: Int
```

### mMinWidth

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

```
protected val mMinWidth: Int
```

### mNextChainWidget

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

```
protected val mNextChainWidget: Array<ConstraintWidget!>!
```

### mOffsetX

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

```
protected val mOffsetX: Int
```

### mOffsetY

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

```
protected val mOffsetY: Int
```

### mX

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

```
protected val mX: Int
```

### mY

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

```
protected val mY: Int
```