Class

OrbiterPosition.TopRight

Top-Right absolute edge alignment.

Source set: Android
public class TopRight(
        horizontalEdgeAlignment: EdgeAlignment = EdgeAlignment.Outside,
        verticalEdgeAlignment: EdgeAlignment = EdgeAlignment.Outside,
        offset: DpVolumeOffset = DpVolumeOffset(0.dp, 0.dp, OrbiterDefaults.Elevation),
    ) :
        OrbiterPosition(
            alignment = SpatialAbsoluteAlignment.TopRight,
            horizontalEdgeAlignment = horizontalEdgeAlignment,
            verticalEdgeAlignment = verticalEdgeAlignment,
            offset = offset,
        )

Top-Right absolute edge alignment.

Parameters

horizontalEdgeAlignment boundary offset behavior relative to the right edge of the parent's bounds
verticalEdgeAlignment boundary offset behavior relative to the top edge of the parent's bounds
offset manual offset applied to the orbiter after the edge offset is applied without considering layout direction

Content updated: