OrbiterPosition.EdgeAlignment

value class OrbiterPosition.EdgeAlignment


Specifies how the Orbiter is aligned relative to its parent's layout boundary.

Note: Calculates alignment based on the parent's rectangular layout bounds, not its visual shape or rounded corners. Use a custom offset in DpVolumeOffset to align with curved or non-rectangular contours.

Summary

Public companion properties

OrbiterPosition.EdgeAlignment

Centers the Orbiter directly on the parent's layout boundary line.

OrbiterPosition.EdgeAlignment

Positions the Orbiter fully inside the parent's layout boundary.

OrbiterPosition.EdgeAlignment

Positions the Orbiter fully outside the parent's layout boundary.

Public companion properties

Center

val CenterOrbiterPosition.EdgeAlignment

Centers the Orbiter directly on the parent's layout boundary line.

The boundary line bisects the orbiter, placing it half-inside and half-outside the parent.

      +------------------------+
| |
+-----|-----+
|
|
Orbiter | SpatialPanel |
+-----|-----+
|
| |
+------------------------+

Inside

val InsideOrbiterPosition.EdgeAlignment

Positions the Orbiter fully inside the parent's layout boundary.

The orbiter completely overlaps the parent panel's layout bounds, functioning as an overlay.

+------------------------+
|
SpatialPanel |
+-----------+
|
|
Orbiter | |
+-----------+
|
|
|
+------------------------+

Outside

val OutsideOrbiterPosition.EdgeAlignment

Positions the Orbiter fully outside the parent's layout boundary.

The orbiter does not overlap the parent panel's layout bounds. For example, a side rail will sit completely to the side of the parent.

          +------------------------+
| |
+---------+
|
|
Orbiter | SpatialPanel |
+---------+
|
| |
+------------------------+