align
Position Inkscape vector elements on a page, relative to each other, or inside another element; center labels in boxes and return move offsets and new bounding boxes.
Instructions
Align elements to the page, to each other, or inside another element — e.g. centre a label in a box: {"ids": ["label"], "to": "box", "horizontal": "center", "vertical": "middle"}. Operations run in order, each seeing the previous moves. Returns the moves [dx, dy] and new bboxes in user units.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | ||
| preview | No | ||
| operations | Yes |