SubspaceLayoutModifierNode

interface SubspaceLayoutModifierNode

Known direct subclasses

A specialized SubspaceModifier.Node responsible for modifying the measurement and layout behavior of its wrapped content within the Subspace environment.

Based on androidx.compose.ui.node.LayoutModifierNode.

Summary

Public functions

MeasureResult
MeasureScope.measure(
    measurable: Measurable,
    constraints: VolumeConstraints
)

Defines the measurement and layout of the Measurable within the given MeasureScope.

Public functions

fun MeasureScope.measure(
    measurable: Measurable,
    constraints: VolumeConstraints
): MeasureResult

Defines the measurement and layout of the Measurable within the given MeasureScope.

The measurable is subject to the specified VolumeConstraints.

Parameters
measurable: Measurable

the content to be measured.

constraints: VolumeConstraints

the constraints within which the measurement should occur.

Returns
MeasureResult

a MeasureResult encapsulating the size and alignment lines of the measured layout.