ListRectX extension

Collection helpers for lists of Rect.

on

Methods

getBounds() Rect

Available on List<Rect>, provided by the ListRectX extension

Returns a bounding rect covering all items.
mergeRects() List<Rect>

Available on List<Rect>, provided by the ListRectX extension

Merges adjacent rects that touch horizontally.