krita_edit_vector_shape
Scale, rotate, and translate a specific vector path in a Krita document using an unchanged layer snapshot for reference.
Instructions
Edit one top-level path shape using an unchanged layer snapshot. Scale then clockwise rotate about image origin then translate in pixels, composed after its existing transform. Groups/text/protected shapes rejected. Active view required; no guaranteed undo. Reuse operation_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| node_id | Yes | ||
| scale_x | No | ||
| scale_y | No | ||
| visible | No | ||
| z_index | No | ||
| document_id | Yes | ||
| instance_id | Yes | ||
| shape_index | Yes | ||
| snapshot_id | Yes | ||
| translate_x | No | ||
| translate_y | No | ||
| operation_id | Yes | ||
| rotation_degrees | No |