affinity_add_shape
Adds a rectangle or ellipse at specified pixel coordinates with an optional hex fill; target the current document or pass a session UUID for another.
Instructions
Add a rectangle or ellipse at pixel coordinates (x, y, width, height) with an optional #RRGGBB or #RRGGBBAA fill. Defaults to the current document; pass session_uuid to target another.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| fill | No | ||
| kind | Yes | ||
| width | Yes | ||
| height | Yes | ||
| session_uuid | No |