HChain
class HChain : Chain
| kotlin.Any | |||
| ↳ | androidx.constraintlayout.core.dsl.Helper | ||
| ↳ | androidx.constraintlayout.core.dsl.Chain | ||
| ↳ | androidx.constraintlayout.core.dsl.HChain |
Summary
Nested types |
|---|
inner class HChain.HAnchor : Chain.Anchor |
Public functions |
|
|---|---|
HChain.HAnchor! |
getEnd()Get the end anchor |
HChain.HAnchor! |
getLeft()Get the left anchor |
HChain.HAnchor! |
getRight()Get the right anchor |
HChain.HAnchor! |
getStart()Get the start anchor |
Unit |
linkToEnd(anchor: Constraint.HAnchor!)Connect anchor to End |
Unit |
linkToEnd(anchor: Constraint.HAnchor!, margin: Int)Connect anchor to End |
Unit |
linkToEnd(anchor: Constraint.HAnchor!, margin: Int, goneMargin: Int)Connect anchor to End |
Unit |
linkToLeft(anchor: Constraint.HAnchor!)Connect anchor to Left |
Unit |
linkToLeft(anchor: Constraint.HAnchor!, margin: Int)Connect anchor to Left |
Unit |
linkToLeft(anchor: Constraint.HAnchor!, margin: Int, goneMargin: Int)Connect anchor to Left |
Unit |
linkToRight(anchor: Constraint.HAnchor!)Connect anchor to Right |
Unit |
linkToRight(anchor: Constraint.HAnchor!, margin: Int)Connect anchor to Right |
Unit |
linkToRight(anchor: Constraint.HAnchor!, margin: Int, goneMargin: Int)Connect anchor to Right |
Unit |
linkToStart(anchor: Constraint.HAnchor!)Connect anchor to Start |
Unit |
linkToStart(anchor: Constraint.HAnchor!, margin: Int)Connect anchor to Start |
Unit |
linkToStart(anchor: Constraint.HAnchor!, margin: Int, goneMargin: Int)Connect anchor to Start |
Inherited Constants |
||||
|---|---|---|---|---|
|
||||
|
Inherited functions |
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||
Inherited properties |
|---|
Public constructors
Public functions
getEnd
fun getEnd(): HChain.HAnchor!
Get the end anchor
| Returns | |
|---|---|
HChain.HAnchor! |
the end anchor |
getLeft
fun getLeft(): HChain.HAnchor!
Get the left anchor
| Returns | |
|---|---|
HChain.HAnchor! |
the left anchor |
getRight
fun getRight(): HChain.HAnchor!
Get the right anchor
| Returns | |
|---|---|
HChain.HAnchor! |
the right anchor |
getStart
fun getStart(): HChain.HAnchor!
Get the start anchor
| Returns | |
|---|---|
HChain.HAnchor! |
the start anchor |
linkToEnd
fun linkToEnd(anchor: Constraint.HAnchor!): Unit
Connect anchor to End
| Parameters | |
|---|---|
anchor: Constraint.HAnchor! |
anchor to be connected |
linkToEnd
fun linkToEnd(anchor: Constraint.HAnchor!, margin: Int): Unit
Connect anchor to End
| Parameters | |
|---|---|
anchor: Constraint.HAnchor! |
anchor to be connected |
margin: Int |
value of the margin |
linkToEnd
fun linkToEnd(anchor: Constraint.HAnchor!, margin: Int, goneMargin: Int): Unit
Connect anchor to End
| Parameters | |
|---|---|
anchor: Constraint.HAnchor! |
anchor to be connected |
margin: Int |
value of the margin |
goneMargin: Int |
value of the goneMargin |
linkToLeft
fun linkToLeft(anchor: Constraint.HAnchor!): Unit
Connect anchor to Left
| Parameters | |
|---|---|
anchor: Constraint.HAnchor! |
anchor to be connected |
linkToLeft
fun linkToLeft(anchor: Constraint.HAnchor!, margin: Int): Unit
Connect anchor to Left
| Parameters | |
|---|---|
anchor: Constraint.HAnchor! |
anchor to be connected |
margin: Int |
value of the margin |
linkToLeft
fun linkToLeft(anchor: Constraint.HAnchor!, margin: Int, goneMargin: Int): Unit
Connect anchor to Left
| Parameters | |
|---|---|
anchor: Constraint.HAnchor! |
anchor to be connected |
margin: Int |
value of the margin |
goneMargin: Int |
value of the goneMargin |
linkToRight
fun linkToRight(anchor: Constraint.HAnchor!): Unit
Connect anchor to Right
| Parameters | |
|---|---|
anchor: Constraint.HAnchor! |
anchor to be connected |
linkToRight
fun linkToRight(anchor: Constraint.HAnchor!, margin: Int): Unit
Connect anchor to Right
| Parameters | |
|---|---|
anchor: Constraint.HAnchor! |
anchor to be connected |
margin: Int |
value of the margin |
linkToRight
fun linkToRight(anchor: Constraint.HAnchor!, margin: Int, goneMargin: Int): Unit
Connect anchor to Right
| Parameters | |
|---|---|
anchor: Constraint.HAnchor! |
anchor to be connected |
margin: Int |
value of the margin |
goneMargin: Int |
value of the goneMargin |
linkToStart
fun linkToStart(anchor: Constraint.HAnchor!): Unit
Connect anchor to Start
| Parameters | |
|---|---|
anchor: Constraint.HAnchor! |
anchor to be connected |
linkToStart
fun linkToStart(anchor: Constraint.HAnchor!, margin: Int): Unit
Connect anchor to Start
| Parameters | |
|---|---|
anchor: Constraint.HAnchor! |
anchor to be connected |
margin: Int |
value of the margin |
linkToStart
fun linkToStart(anchor: Constraint.HAnchor!, margin: Int, goneMargin: Int): Unit
Connect anchor to Start
| Parameters | |
|---|---|
anchor: Constraint.HAnchor! |
anchor to be connected |
margin: Int |
value of the margin |
goneMargin: Int |
value of the goneMargin |