Create a layer
create_nodeCreate frames, rectangles, ellipses, polygons, stars, lines, arrows, text, vectors, sections, components, or slices in FigCraft, positioned by page coordinates relative to a parent frame.
Instructions
Create a frame, rectangle, ellipse, polygon, star, line, arrow, text, vector, section, component or slice. Coordinates are page units relative to the parent frame (the page when there is none).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | No | ||
| path | No | ||
| text | No | ||
| type | Yes | ||
| index | No | ||
| props | No | ||
| width | No | ||
| closed | No | ||
| height | No | ||
| parent | No | ||
| points | No |