VChain
class VChain : Chain
| kotlin.Any | |||
| ↳ | androidx.constraintlayout.core.dsl.Helper | ||
| ↳ | androidx.constraintlayout.core.dsl.Chain | ||
| ↳ | androidx.constraintlayout.core.dsl.VChain |
Summary
Nested types |
|---|
inner class VChain.VAnchor : Chain.Anchor |
Public functions |
|
|---|---|
VChain.VAnchor! |
Get the baseline anchor |
VChain.VAnchor! |
Get the bottom anchor |
VChain.VAnchor! |
getTop()Get the top anchor |
Unit |
linkToBaseline(anchor: Constraint.VAnchor!)Connect anchor to Baseline |
Unit |
linkToBaseline(anchor: Constraint.VAnchor!, margin: Int)Connect anchor to Baseline |
Unit |
linkToBaseline(anchor: Constraint.VAnchor!, margin: Int, goneMargin: Int)Connect anchor to Baseline |
Unit |
linkToBottom(anchor: Constraint.VAnchor!)Connect anchor to Bottom |
Unit |
linkToBottom(anchor: Constraint.VAnchor!, margin: Int)Connect anchor to Bottom |
Unit |
linkToBottom(anchor: Constraint.VAnchor!, margin: Int, goneMargin: Int)Connect anchor to Bottom |
Unit |
linkToTop(anchor: Constraint.VAnchor!)Connect anchor to Top |
Unit |
linkToTop(anchor: Constraint.VAnchor!, margin: Int)Connect anchor to Top |
Unit |
linkToTop(anchor: Constraint.VAnchor!, margin: Int, goneMargin: Int)Connect anchor to Top |
Inherited Constants |
||||
|---|---|---|---|---|
|
||||
|
Inherited functions |
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||
Inherited properties |
|---|
Public constructors
Public functions
getBaseline
fun getBaseline(): VChain.VAnchor!
Get the baseline anchor
| Returns | |
|---|---|
VChain.VAnchor! |
the baseline anchor |
getBottom
fun getBottom(): VChain.VAnchor!
Get the bottom anchor
| Returns | |
|---|---|
VChain.VAnchor! |
the bottom anchor |
getTop
fun getTop(): VChain.VAnchor!
Get the top anchor
| Returns | |
|---|---|
VChain.VAnchor! |
the top anchor |
linkToBaseline
fun linkToBaseline(anchor: Constraint.VAnchor!): Unit
Connect anchor to Baseline
| Parameters | |
|---|---|
anchor: Constraint.VAnchor! |
anchor to be connected |
linkToBaseline
fun linkToBaseline(anchor: Constraint.VAnchor!, margin: Int): Unit
Connect anchor to Baseline
| Parameters | |
|---|---|
anchor: Constraint.VAnchor! |
anchor to be connected |
margin: Int |
value of the margin |
linkToBaseline
fun linkToBaseline(anchor: Constraint.VAnchor!, margin: Int, goneMargin: Int): Unit
Connect anchor to Baseline
| Parameters | |
|---|---|
anchor: Constraint.VAnchor! |
anchor to be connected |
margin: Int |
value of the margin |
goneMargin: Int |
value of the goneMargin |
linkToBottom
fun linkToBottom(anchor: Constraint.VAnchor!): Unit
Connect anchor to Bottom
| Parameters | |
|---|---|
anchor: Constraint.VAnchor! |
anchor to be connected |
linkToBottom
fun linkToBottom(anchor: Constraint.VAnchor!, margin: Int): Unit
Connect anchor to Bottom
| Parameters | |
|---|---|
anchor: Constraint.VAnchor! |
anchor to be connected |
margin: Int |
value of the margin |
linkToBottom
fun linkToBottom(anchor: Constraint.VAnchor!, margin: Int, goneMargin: Int): Unit
Connect anchor to Bottom
| Parameters | |
|---|---|
anchor: Constraint.VAnchor! |
anchor to be connected |
margin: Int |
value of the margin |
goneMargin: Int |
value of the goneMargin |
linkToTop
fun linkToTop(anchor: Constraint.VAnchor!): Unit
Connect anchor to Top
| Parameters | |
|---|---|
anchor: Constraint.VAnchor! |
anchor to be connected |
linkToTop
fun linkToTop(anchor: Constraint.VAnchor!, margin: Int): Unit
Connect anchor to Top
| Parameters | |
|---|---|
anchor: Constraint.VAnchor! |
anchor to be connected |
margin: Int |
value of the margin |
linkToTop
fun linkToTop(anchor: Constraint.VAnchor!, margin: Int, goneMargin: Int): Unit
Connect anchor to Top
| Parameters | |
|---|---|
anchor: Constraint.VAnchor! |
anchor to be connected |
margin: Int |
value of the margin |
goneMargin: Int |
value of the goneMargin |