Interface IRotationConfig
A structure containing parameters of the canvas rotation.
Package: @aurigma/design-editor-iframe
Examples
configuration = {
canvas: {
rotation: {
type: "Rotate90"
}
}
};
Properties
type
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".
Declaration
type?: RotationType;
Property Value
| Type | Description |
|---|---|
| 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 |