Edit command

setClipTransform

Places the picture. Send only the fields you moved.

Fields

  • clipIdstringrequired

    The clip to place. An unknown id is a no-op.

  • offsetXnumberoptional

    New horizontal offset as a frame-width fraction, clamped to ±3.

  • offsetYnumberoptional

    New vertical offset as a frame-height fraction, clamped to ±3.

  • rotationnumberoptional

    New rotation in degrees, wrapped into (-180, 180] so a full drag never accumulates turns.

  • scalenumberoptional

    New scale, clamped into 0.05..=8.

  • stretchXnumberoptional

    New width multiplier beyond the scale, clamped into 0.1..=10.

  • stretchYnumberoptional

    New height multiplier, on the same terms.