MeasureScope

The receiver a MeasurePolicy or a LayoutModifierNode measures in, and the one way it answers.

See also

Properties

Link copied to clipboard
abstract val offeredMinWidth: Int

The least width of the offer used by an intrinsic height read in this scope, at most the specified width, or 0 where the offer has none. It is 0 in measure, whose constraints carry the minimum.

Functions

Link copied to clipboard
abstract fun layout(width: Int, height: Int, alignmentLines: Map<AlignmentLine, Int> = emptyMap(), placementBlock: PlacementScope.() -> Unit): MeasureResult

The extent this policy or modifier settled on, with placementBlock as the block that places what it measured.