document.set_rotation
Set a shape's rotation angle in degrees clockwise (0–360) around its center; use it to orient slide elements and ensure the rotation saves to OOXML on export.
Instructions
Set a shape's rotation in degrees (clockwise, 0..360). Stored on props.rotation; the renderer applies it as a Qt item transform around the shape centre. Round-trips through OOXML <a:xfrm rot="..."/> on save.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| degrees | Yes | ||
| shape_id | Yes |