Back to Website
Show / Hide Table of Contents

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 "Rotate90", "Rotate180", or "Rotate270". The default value is "Rotate90".

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback