Skip to main content

Interface: IRotationConfig

A structure containing parameters of the canvas rotation.

Example

configuration = {
canvas: {
rotation: {
type: "Rotate90",
},
},
};

Properties

type?

optional type?: RotationType

The angle to which the canvas is rotated when clicking the Rotate button in the Bottom Toolbar. This angle is a multiple of 90 degrees, and the value can be "Rotate90", "Rotate180", or "Rotate270". The default value is "Rotate90".

Was this page helpful?