androidx.compose.ui.layout
Measured
Interface · from org.jetbrains.compose.ui:ui:1.12.2
No hand-written docs yet.
A Measured corresponds to a layout that has been measured by its parent layout.
interface Measured
Kinds of Measured
Anywhere a Measured is expected, you can pass any of these.
Placeableui
How to get one
Or create one of the kinds listed above.
Properties
measuredWidth
val measuredWidth: Int
The measured width of the layout. This might not respect the measurement constraints.
measuredHeight
val measuredHeight: Int
The measured height of the layout. This might not respect the measurement constraints.
parentData
val parentData: Any?
Data provided by the ParentDataModifier applied to the layout.
Functions
get
fun get(alignmentLine: AlignmentLine): Int
Returns the position of an [alignment line]AlignmentLine, or AlignmentLine.Unspecified if the line is not provided.
Library docs
A Measured corresponds to a layout that has been measured by its parent layout.