OrbiterPosition.CenterRight

class OrbiterPosition.CenterRight : OrbiterPosition


Center-Right absolute edge alignment.

Summary

Public constructors

CenterRight(
    horizontalEdgeAlignment: OrbiterPosition.EdgeAlignment,
    offset: DpVolumeOffset
)

Public constructors

CenterRight

Added in 1.0.0-beta01
CenterRight(
    horizontalEdgeAlignment: OrbiterPosition.EdgeAlignment = EdgeAlignment.Outside,
    offset: DpVolumeOffset = DpVolumeOffset(0.dp, 0.dp, OrbiterDefaults.Elevation)
)
Parameters
horizontalEdgeAlignment: OrbiterPosition.EdgeAlignment = EdgeAlignment.Outside

boundary offset behavior relative to the right edge of the parent's bounds

offset: DpVolumeOffset = DpVolumeOffset(0.dp, 0.dp, OrbiterDefaults.Elevation)

manual offset applied to the orbiter after the horizontalEdgeAlignment's offset is applied without considering layout direction