Stack
A Stack object represents a collection of parts within a pattern. Stacks are used when laying out the pattern.
RELATED
See Stacks for information about how stacks are used in a pattern.
Signature
Stack new Stack(String name)
The stack constructor takes a single argument, a String containing the name of the stack.
Properties
Stack objects come with the following properties:
attributes
: An Attributes instance holding the stack's attributesparts
: A set of parts in the stackname
: The name of the stacktopleft
: A Point that is the top left of the stack's bounding boxbottomRight
: A Point that is the bottom right of the stack's bounding boxwidth
: The width of the stack in mmheight
: The height of the stack in mmanchor
: A Point that is used as the anchor to align parts in the stack
Methods
A Stack object exposes the following methods: