add_shape
Add rectangles, ellipses, lines, or polygons to an image project, with fill, stroke, rounded corners, and transparency support.
Instructions
Vector shape: rect (radius = rounded corners), ellipse, line, polygon (points relative to x,y). Colors accept #rrggbbaa for transparency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | ||
| w | No | ||
| x | No | ||
| y | No | ||
| fill | No | #ffffff | |
| kind | No | rect | |
| name | No | ||
| points | No | ||
| radius | No | ||
| stroke | No | ||
| project | No | ||
| stroke_width | No |