Measured
Kotlin
|Java
interface Measured
androidx.compose.ui.layout.Measured |
A Measured corresponds to a layout that has been measured by its parent layout.
Summary
Public methods | |
---|---|
abstract operator Int |
get(alignmentLine: AlignmentLine) Returns the position of an alignment line, or AlignmentLine.Unspecified if the line is not provided. |
Properties | |
---|---|
abstract Int |
The measured height of the layout. |
abstract Int |
The measured width of the layout. |
Public methods
get
abstract operator fun get(alignmentLine: AlignmentLine): Int
Returns the position of an alignment line, or AlignmentLine.Unspecified if the line is not provided.
Properties
measuredHeight
abstract val measuredHeight: Int
The measured height of the layout. This might not respect the measurement constraints.
measuredWidth
abstract val measuredWidth: Int
The measured width of the layout. This might not respect the measurement constraints.