Source set: Android
public class TopEnd(
horizontalEdgeAlignment: EdgeAlignment = EdgeAlignment.Outside,
verticalEdgeAlignment: EdgeAlignment = EdgeAlignment.Outside,
offset: DpVolumeOffset = DpVolumeOffset(0.dp, 0.dp, OrbiterDefaults.Elevation),
) :
OrbiterPosition(
alignment = SpatialAlignment.TopEnd,
horizontalEdgeAlignment = horizontalEdgeAlignment,
verticalEdgeAlignment = verticalEdgeAlignment,
offset = offset,
)
Top-End edge alignment.
Parameters
| horizontalEdgeAlignment | boundary offset behavior relative to the end 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. 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. |