DisjointRectCollection

binpacking.DisjointRectCollection (Class)

Static Members

rectsDisjoint(a: Rect, b: Rect): Bool
Name Type
a Rect
b Rect
Returns
Bool

Instance Members

rects: Array<Rect>

add(r: Rect): Bool
Name Type
r Rect
Returns
Bool

clear(): Void

disjoint(r: Rect): Bool
Name Type
r Rect
Returns
Bool

new(): Void