MeasureResult

interface MeasureResult


Interface holding the size and alignment lines of the measured layout, as well as the children positioning logic.

Based on androidx.compose.ui.layout.MeasureResult.

Summary

Public functions

Unit

Used for positioning children.

Public properties

Int

The measured depth of the layout, in pixels.

Int

The measured height of the layout, in pixels.

Int

The measured width of the layout, in pixels.

Public functions

placeChildren

Added in 1.0.0-alpha02
fun placeChildren(placementScope: Placeable.PlacementScope): Unit

Used for positioning children. Placeable.placeAt should be called on children inside placeChildren

Public properties

depth

Added in 1.0.0-alpha02
val depthInt

The measured depth of the layout, in pixels.

height

Added in 1.0.0-alpha02
val heightInt

The measured height of the layout, in pixels.

width

Added in 1.0.0-alpha02
val widthInt

The measured width of the layout, in pixels.