Start native apps faster with the Composables CLI ->
Class

SubspaceLayoutNode.SubspaceMeasurableLayout

A SubspaceMeasurable and SubspacePlaceable object that is used to measure and lay out the children of this node.

Source set: Android
inner class SubspaceMeasurableLayout :
        SubspaceMeasurable, SubspaceLayoutCoordinates, SubspaceSemanticsInfo, SubspacePlaceable()

A SubspaceMeasurable and SubspacePlaceable object that is used to measure and lay out the children of this node.

See androidx.compose.ui.node.NodeCoordinator

Properties

semanticsId

Source set: Android
override val semanticsId: Int = generateSemanticsId()

Unique ID used by semantics libraries.

density

Source set: Android
override val density: Density

The density of this node.

tail

Source set: Android
val tail: SubspaceModifier.Node = TailModifierNode()

The tail node of SubspaceModifierNodeChain.

This node is used to mark the end of the modifier chain.

isPlaced

Source set: Android
val isPlaced

pose

Source set: Android
override val pose: Pose

poseInParent

Source set: Android
override val poseInParent: Pose

poseInRoot

Source set: Android
override val poseInRoot: Pose

The position of this node relative to the root of this Compose hierarchy, in pixels.

parentCoordinates

Source set: Android
override val parentCoordinates: SubspaceLayoutCoordinates?

The coordinates of the immediate parent in the layout hierarchy.

It includes application from any SubspaceLayoutModifierNode instances in the modifier chain of this node. This property first checks for any layout modifiers on the current node. If modifiers are present, it returns the coordinates of the outermost modifier. If no modifiers are present, it falls back to returning the coordinates of the parent layout.

Returns null only for the root of the hierarchy.

parentLayoutCoordinates

Source set: Android
override val parentLayoutCoordinates: SubspaceLayoutCoordinates?

The coordinates of the parent layout, skipping any modifiers on this node.

Returns null only for the root of the hierarchy.

childrenInfo

Source set: Android
override val childrenInfo: MutableList<SubspaceSemanticsInfo>

parentInfo

Source set: Android
override val parentInfo: SubspaceSemanticsInfo?

semanticsEntity

Source set: Android
override val semanticsEntity: Entity?

size

Source set: Android
override val size: IntVolumeSize

semanticsConfiguration

Source set: Android
override val semanticsConfiguration: SubspaceSemanticsConfiguration?

The semantics configuration of this node.

This includes all properties attached as modifiers to the current layout node.

Functions

measure

Source set: Android
override fun measure(constraints: VolumeConstraints): SubspacePlaceable

adjustParams

Source set: Android
override fun adjustParams(params: ParentLayoutParamsAdjustable)

toString

Source set: Android
override fun toString(): String