Krita Draw Shape
krita_draw_shapeDraw rectangle, ellipse, or line shapes on a Krita canvas by setting position, size, and fill or stroke options.
Instructions
Draw rectangle|ellipse|line on the canvas; x2/y2 are line endpoints.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| x2 | No | ||
| y2 | No | ||
| fill | No | ||
| shape | Yes | ||
| width | No | ||
| height | No | ||
| stroke | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||