• Returns offsets to align the rights of elements to the right of a reference element.

    Parameters

    • rects: LayoutRect[]

      Bounding rectangles of elements to align.

    • Optionaloptions: LayoutOptions

      Additional options for the layout.

    Returns Vector2D[]

    Array of offsets for each element.