draw_rect
Draw rectangles on the canvas with specified position, width, height, color, and optional fill.
Instructions
Draw a rectangle (outline or filled) on the canvas.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| color | Yes | {r,g,b,a} | |
| frame | No | ||
| layer | No | ||
| width | No | ||
| filled | No | Fill the rectangle (default: false = outline) | |
| height | No |