draw_line
Draw a line between two points on a specified layer and frame using the Bresenham algorithm for accurate pixel art.
Instructions
Draw a line between two points using Bresenham algorithm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| color | Yes | {r,g,b,a} | |
| frame | No | ||
| layer | No |