resize_canvas
Resize pixel art canvas by setting new dimensions, positioning existing content with an anchor point, and filling new area with transparency. Clears saved selections.
Instructions
Resize the canvas. Existing content is placed according to the anchor; new area is transparent. Clears saved selections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| anchor | No | Where existing content sits in the new canvas (default center) | |
| doc_id | Yes | Document id | |
| height | Yes | ||
| render | No | Include a render of the change (default true) |