Bounding box of the node in absolute space coordinates
Background of the node. This is deprecated, as backgrounds for frames are now in the fills field.
Background color of the node. This is deprecated, as frames now support more than a solid color as a fills. Please use the fills field instead.
How this node blends with nodes behind it in the scene (see blend mode section for more details)
An array of nodes that are direct children of this node
Does this node clip content outside of its bounds?
Horizontal and vertical layout constraints for node
Radius of each corner of the frame if a single radius is set for all corners
When autolayout is enabled
The padding betweeen the bottom border of the frame and its children. This property is only applicable for auto-layout frames.
An array of effects attached to this node (see effects sectionfor more details)
An array of export settings representing images to export from node
An array of fill paints applied to the node
The horizontal padding between the borders of the frame and its children. This property is only applicable for auto-layout frames.
a string uniquely identifying this node within the document
Does this node mask sibling nodes in front of it?
The distance between children of the frame. This property is only applicable for auto-layout frames.
How the layer is aligned inside an auto-layout frame. This property is only provided for direct children of auto-layout frames. MIN CENTER MAX STRETCH In horizontal auto-layout frames, "MIN" and "MAX" correspond to "TOP" and "BOTTOM". * In vertical auto-layout frames, "MIN" and "MAX" correspond to "LEFT" and "RIGHT".
An array of layout grids attached to this node (see layout grids section for more details). GROUP nodes do not have this attribute
Whether this layer uses auto-layout to position its children.
the name given to the node by the user in the tool.
Opacity of the node
Defines the scrolling behavior of the frame, if there exist contents outside of the frame boundaries. The frame can either scroll vertically, horizontally, or in both directions to the extents of the content contained within it. This behavior can be observed in a prototype. HORIZONTAL_SCROLLING VERTICAL_SCROLLING HORIZONTAL_AND_VERTICAL_SCROLLING
The padding betweeen the top border of the frame and its children. This property is only applicable for auto-layout frames.
When autolayout is enabled
The padding betweeen the left border of the frame and its children. This property is only applicable for auto-layout frames.
The padding betweeen the right border of the frame and its children. This property is only applicable for auto-layout frames.
data written by plugins that is visible only to the plugin that wrote it. Requires the pluginData
to include the ID of the plugin.
Keep height and width constrained to same ratio
When autolayout is enabled
Whether the counter axis has a fixed length (determined by the user) or an automatic length (determined by the layout engine). This property is only applicable for auto-layout frames
Array of length 4 of the radius of each corner of the frame, starting in the top left and proceeding clockwise
The top two rows of a matrix that represents the 2D transform of this node relative to its parent. The bottom row of the matrix is implicitly always (0, 0, 1). Use to transform coordinates in geometry. Only present if geometry=paths is passed
data written by plugins that is visible to all plugins. Requires the pluginData
parameter to include the string "shared".
Width and height of element. This is different from the width and height of the bounding box in that the absolute bounding box represents the element after scaling and rotation. Only present if geometry=paths is passed
Position of stroke relative to vector outline, as a string enum "INSIDE": stroke drawn inside the shape boundary "OUTSIDE": stroke drawn outside the shape boundary "CENTER": stroke drawn centered along the shape boundary
The weight of strokes on the node
An array of stroke paints applied to the node
The duration of the prototyping transition on this node (in milliseconds)
The easing curve used in the prototyping transition on this node
Node ID of node to transition to in prototyping
The vertical padding between the borders of the frame and its children. This property is only applicable for auto-layout frames.
whether or not the node is visible on the canvas
Generated using TypeDoc
A node that can have instances created of it that share the same properties