SpatialBoxScope

@LayoutScopeMarker
interface SpatialBoxScope


Scope for the children of SpatialBox.

Summary

Public functions

SubspaceModifier

Positions the content element at a specific SpatialAlignment within the SpatialBox.

Public functions

fun SubspaceModifier.align(alignment: SpatialAlignment): SubspaceModifier

Positions the content element at a specific SpatialAlignment within the SpatialBox. This alignment overrides the default alignment of the SpatialBox.

Parameters
alignment: SpatialAlignment

The desired alignment for the content.

Returns
SubspaceModifier

The modified SubspaceModifier.