figma_create_line
Create a line element in a Figma design by specifying start and end coordinates (X, Y). Optionally set line name, parent container, stroke color, and stroke weight.
Instructions
Create a line.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endX | Yes | ||
| endY | Yes | ||
| name | No | Line | |
| startX | Yes | ||
| startY | Yes | ||
| parentId | No | ||
| strokeColor | No | Color as hex string "#RRGGBB" or object {r,g,b,a?} with 0-1 values | |
| strokeWeight | No |