OrbiterAlignment.Center

class OrbiterAlignment.Center : OrbiterAlignment


Center of the parent (non-edge).

Summary

Public constructors

This function is deprecated. Use OrbiterPosition instead.

Public constructors

Center

Added in 1.0.0-beta01
Deprecated in 1.0.0-beta01
Center(
    offset: DpVolumeOffset = DpVolumeOffset(0.dp, 0.dp, OrbiterDefaults.Elevation)
)
Parameters
offset: DpVolumeOffset = DpVolumeOffset(0.dp, 0.dp, OrbiterDefaults.Elevation)

manual offset applied to the orbiter after the edgeOffsetType's offset is applied. This offset will automatically adjust the horizontal offset according to the layout direction: when the layout direction is LTR, positive x offsets will move the content to the right and when the layout direction is RTL, positive x offsets will move the content to the left.