Packs rects into a rectangular region with size width by height, using method. Accounts for padding grid-spaces of padding on all sides of the rects. The data in rects will be re-ordered.
A slice of rects, containing only the rectangles that could fit into the packing region.
See Implementation
Packs rects into a rectangular region with size width by height, using method. Accounts for padding grid-spaces of padding on all sides of the rects. The data in rects will be re-ordered.