public object SpatialAbsoluteAlignment
A collection of common SpatialAlignments unaware of the layout direction.
Properties
TopLeft
@JvmStatic public val TopLeft: SpatialAlignment = SpatialBiasAbsoluteAlignment(-1f, 1f, 0f)
Aligns at the top of the vertical axis and left of the horizontal axis irrespective of the layout direction.
TopRight
@JvmStatic public val TopRight: SpatialAlignment = SpatialBiasAbsoluteAlignment(1f, 1f, 0f)
Aligns at the top of the vertical axis and right of the horizontal axis irrespective of the layout direction.
CenterLeft
@JvmStatic public val CenterLeft: SpatialAlignment = SpatialBiasAbsoluteAlignment(-1f, 0f, 0f)
Aligns at the center of the vertical axis and left of the horizontal axis irrespective of the layout direction.
CenterRight
@JvmStatic public val CenterRight: SpatialAlignment = SpatialBiasAbsoluteAlignment(1f, 0f, 0f)
Aligns at the center of the vertical axis and right of the horizontal axis irrespective of the layout direction.
BottomLeft
@JvmStatic public val BottomLeft: SpatialAlignment = SpatialBiasAbsoluteAlignment(-1f, -1f, 0f)
Aligns at the bottom of the vertical axis and left of the horizontal axis irrespective of the layout direction.
BottomRight
@JvmStatic public val BottomRight: SpatialAlignment = SpatialBiasAbsoluteAlignment(1f, -1f, 0f)
Aligns at the bottom of the vertical axis and right of the horizontal axis irrespective of the layout direction.
Left
public val Left: SpatialAlignment.Horizontal = SpatialBiasAbsoluteAlignment.Horizontal(-1f)
Aligns at the left of the horizontal axis irrespective of the layout direction.
Right
public val Right: SpatialAlignment.Horizontal = SpatialBiasAbsoluteAlignment.Horizontal(1f)
Aligns at the right of the horizontal axis irrespective of the layout direction.