---
title: "Interface: IRotationConfig | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/ConfigurationInterfaces.IRotationConfig/"
---

# Interface: IRotationConfig

> A structure containing parameters of the canvas rotation.

## Example

``` js
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"`.
