Measured
Kotlin
|Java
inline class Measured
kotlin.Any | |
↳ | androidx.compose.ui.layout.Measured |
Read-only wrapper over Placeable that exposes the measurement result with no placing ability.
Summary
Public constructors | |
---|---|
Read-only wrapper over Placeable that exposes the measurement result with no placing ability. |
Public methods | |
---|---|
operator Int |
get(alignmentLine: AlignmentLine) Returns the position of an alignment line,
or |
Properties | |
---|---|
Int |
The measured height of the layout. |
Int |
The measured width of the layout. |
Public constructors
<init>
Measured(placeable: Placeable)
Read-only wrapper over Placeable that exposes the measurement result with no placing ability.
Public methods
get
operator fun get(alignmentLine: AlignmentLine): Int
Returns the position of an alignment line,
or null
if the line is not provided.