BaselineAnchorable
Kotlin
|Java
inner class BaselineAnchorable
kotlin.Any | |
↳ | androidx.compose.foundation.layout.ConstrainScope.BaselineAnchorable |
Represents the FirstBaseline of a layout that can be anchored
using linkTo in their Modifier.constrainAs
blocks.
Summary
Public methods | |
---|---|
Unit |
linkTo(anchor: ConstraintLayoutBaseScope.BaselineAnchor, margin: Dp = 0.dp) Adds a link towards a ConstraintLayoutBaseScope.BaselineAnchor. |
Public methods
linkTo
fun linkTo(
anchor: ConstraintLayoutBaseScope.BaselineAnchor,
margin: Dp = 0.dp
): Unit
Adds a link towards a ConstraintLayoutBaseScope.BaselineAnchor.