alignmentAround

fun alignmentAround(component: Component, alignmentType: ComponentAlignment): AlignmentStrategy

Calculates the Position of the resulting Component relative to the given component using the given ComponentAlignment.

E.g. TOP_LEFT will align this Component to the top left corner of component.

Sources

(source)
Link copied to clipboard