SubspaceMeasureResult

interface SubspaceMeasureResult


Interface holding the size 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-beta01
fun placeChildren(placementScope: SubspacePlaceable.SubspacePlacementScope): Unit

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

Parameters
placementScope: SubspacePlaceable.SubspacePlacementScope

scope used to place the children of this layout.

Public properties

depth

Added in 1.0.0-beta01
val depth: Int

The measured depth of the layout, in pixels.

height

Added in 1.0.0-beta01
val height: Int

The measured height of the layout, in pixels.

width

Added in 1.0.0-beta01
val width: Int

The measured width of the layout, in pixels.