Class

OrbiterPosition.TopLeft

Top-Left absolute edge alignment.

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

Top-Left absolute edge alignment.

Parameters

horizontalEdgeAlignment boundary offset behavior relative to the left 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: