design_add_shape
Add a shape layer to your canvas—choose rect, ellipse, polygon, star, or arc—and set position, size, fill, stroke, and corner radius for generative art compositions.
Instructions
Add a shape layer (rect, ellipse, polygon, star, or arc) to the canvas.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position (default: 100). | |
| y | No | Y position (default: 100). | |
| shape | Yes | Shape type to add. | |
| sides | No | Number of sides for polygon (default: 6). | |
| width | No | Width (default: 200). | |
| height | No | Height (default: 200). | |
| points | No | Number of points for star (default: 5). | |
| fillColor | No | Fill color as hex (default: '#ffffff'). | |
| strokeColor | No | Stroke color as hex (default: '#000000'). | |
| strokeWidth | No | Stroke width (default: 0). | |
| cornerRadius | No | Corner radius for rect (default: 0). |