Skip to content

alignRects()

function alignRects(
rects,
alignment,
reference?
): Rect[];

Aligns rectangles to the bounding box of the group (or to reference when given).

Parameter Type
rects Rect[]
alignment Alignment
reference? Rect

Rect[]