draw_line
Draw straight lines between two coordinates in pixel art projects to create shapes, outlines, or connect elements.
Instructions
Draw a line between two points
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project identifier | |
| layerIndex | No | Layer index (default: 0) | |
| frameIndex | No | Frame index (default: 0) | |
| x0 | Yes | Start X coordinate | |
| y0 | Yes | Start Y coordinate | |
| x1 | Yes | End X coordinate | |
| y1 | Yes | End Y coordinate | |
| color | Yes | Color in hex format | |
| penSize | No | Pen size (default: 1) |