Skip to content
Menu
Auto
English
v1 is in long-term maintenance and continues to receive compatibility, security, and critical bug fixes. See the v2.

RotationCanvasMode

Defined in: index.ts:107

Controls the output canvas after the composed image is rotated.

expand preserves the entire rotated image by growing the output canvas. crop keeps the original canvas dimensions and clips content outside it.

crop: "crop"

Defined in: index.ts:109


expand: "expand"

Defined in: index.ts:108