draw_ellipse
Draw an ellipse or circle outline—or a filled shape—centred on pixel coordinates in an Aseprite sprite, with optional colour blending, layer/frame targeting, and automatic cel creation.
Instructions
Draw an ellipse centred on (cx, cy), 2rx+1 pixels wide and 2ry+1 tall.
rx == ry draws a circle; a zero radius gives a line, both zero a single pixel. The outline is exactly the border of the filled shape. Clipped to the canvas.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"cx": "<cx>",
"cy": "<cy>",
"rx": "<rx>",
"ry": "<ry>",
"color": "<color>"
},
"name": "draw_ellipse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cx | Yes | Centre x | |
| cy | Yes | Centre y | |
| rx | Yes | Horizontal radius in pixels | |
| ry | Yes | Vertical radius in pixels | |
| fill | No | Fill the shape; false draws the outline only | |
| path | Yes | Sprite file. Relative paths resolve against the server root. | |
| blend | No | false: pixels get exactly this colour (transparent erases, except on a background layer, which ignores alpha); true: the colour is alpha-blended over what is there | |
| color | Yes | '#RRGGBB', '#RRGGBBAA' or 'transparent' | |
| frame | No | 1-based frame number | |
| layer | No | Layer name or 'group/child' path; empty = the bottom-most normal layer | |
| create_cel | No | Add an empty cel when the layer has none in that frame |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||