draw_shapes
Add vector rectangles, ovals, lines, polygons, beziers, and paths to Aseprite sprites as filled or stroked shapes with optional antialiasing.
Instructions
Draws vector shapes with optional antialiasing: rect, rounded_rect, oval/ellipse, line, polyline, polygon, bezier (cubic, points = start then control1, control2, end per segment), or path (ops: move/line/cubic/close). Each shape is stroked (width) or filled. Antialiasing is off by default to keep hard pixel edges. For pixel-exact aliased shapes use_tool is closer to Aseprite's own tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Batch mode: write changes back to the sprite file (default true) | |
| color | No | Default color for shapes without one | |
| frame | No | 1-based frame number. Defaults to the active frame (or 1). | |
| layer | No | Layer name, 'Group/Child' path, or 1-based index from get_sprite_info. Defaults to the active layer. | |
| width | No | Default stroke width | |
| shapes | Yes | ||
| sprite | No | File path, open tab title, or sprite id. Defaults to the active sprite (live). Batch mode needs a file path. | |
| backend | No | auto (default): live Aseprite if connected, else headless batch | |
| opacity | No | Opacity of the whole drawing when composited | |
| antialias | No | Default antialiasing (false) | |
| blendMode | No |