Stack.asRenderProps()

The Stack.asRenderProps() method returns a stack object suitable for renderprops.

Stack.asProps() signature

Javascript
Object stack.asProps()

Stack.asProps() returned object

The Stack.asProps() method returns an object with the following properties:

PropertyDescription
attributesAn Attributes instance holding the stack’s attributes
bottomRightA Point that is the bottom right of the stack’s bounding box
heightHeight of the bounding box of the stack in mm
nameThe name of the stack
partsAn Array of the Parts in the stack
topLeftA Point that is the top left of the stack’s bounding box
widthWidth of the bounding box of the stack in mm