vWrap

Stacks the drawing elements vertically. Multiple stacks are used if the elements height exceeds the given rectangle height.

Parameters

elements Element[]

An array with the drawing elements that should be wrapped.

rect Rect

The rectangle in which the elements should be wrapped.

Returns

Array<Array<Element>> - An array with the stacks. Each stack is an Array holding the stack drawing elements.

 /