# WidgetContainer

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

*** ** * ** ***

<br />

```
class WidgetContainer : ConstraintWidget
```

<br />

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

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

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidgetContainer` | A container of ConstraintWidget that can layout its children |

*** ** * ** ***

A container of ConstraintWidget

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/WidgetContainer#WidgetContainer()()` Default constructor |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/WidgetContainer#WidgetContainer(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/WidgetContainer#WidgetContainer(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 |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/WidgetContainer#add(androidx.constraintlayout.core.widgets.ConstraintWidget)(widget: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!)` Add a child widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/WidgetContainer#add(androidx.constraintlayout.core.widgets.ConstraintWidget...)(widgets: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!>!)` Add multiple child widgets. |
| `https://developer.android.com/reference/java/util/ArrayList.html<https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!>!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/WidgetContainer#getChildren()()` Access the children |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidgetContainer!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/WidgetContainer#getRootConstraintContainer()()` Return the top-level ConstraintWidgetContainer |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/WidgetContainer#layout()()` Function implemented by ConstraintWidgetContainer |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/WidgetContainer#remove(androidx.constraintlayout.core.widgets.ConstraintWidget)(widget: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!)` Remove a child widget |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/WidgetContainer#removeAllChildren()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/WidgetContainer#reset()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/WidgetContainer#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/WidgetContainer#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. |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/java/util/ArrayList.html<https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!>!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/WidgetContainer#mChildren()` |

### Inherited Constants

From [androidx.constraintlayout.core.widgets.ConstraintWidget](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget) `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`

### Inherited functions

From [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#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://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://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#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#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#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)` `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#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

### Inherited properties

From [androidx.constraintlayout.core.widgets.ConstraintWidget](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget) `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/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://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#mDimensionRatioSide()` `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/-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#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://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://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/-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()` `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()`

## Public constructors

### WidgetContainer

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

```
WidgetContainer()
```

Default constructor

### WidgetContainer

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

```
WidgetContainer(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 |

### WidgetContainer

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

```
WidgetContainer(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 |

## Public functions

### add

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

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

Add a child widget

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

### add

```
fun add(widgets: Array<ConstraintWidget!>!): Unit
```

Add multiple child widgets.

| Parameters |
|---|---|
| `widgets: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!>!` | to add |

### getChildren

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

```
fun getChildren(): ArrayList<ConstraintWidget!>!
```

Access the children

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

### getRootConstraintContainer

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

```
fun getRootConstraintContainer(): ConstraintWidgetContainer!
```

Return the top-level ConstraintWidgetContainer

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidgetContainer!` | top-level ConstraintWidgetContainer |

### layout

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

```
fun layout(): Unit
```

Function implemented by ConstraintWidgetContainer

### remove

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

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

Remove a child widget

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

### removeAllChildren

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

```
fun removeAllChildren(): Unit
```

### reset

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

### resetSolverVariables

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

Reset the solver variables of the anchors

### setOffset

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

Set the offset of this widget relative to the root widget. We then set the offset of our children as well.

| 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 |

## Public properties

### mChildren

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

```
val mChildren: ArrayList<ConstraintWidget!>!
```