---
title: "Rotate Constructor (Single, Color, InterpolationMode)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Transforms_Rotate_ctor_3_5c651e93.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Rotate Constructor (Single, Color, InterpolationMode)
 
Creates and initializes [Rotate](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Rotate.htm.md) class instance. All rotation parameters are specified here.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub New ( _angle As Single, _backgroundColor As Color, _interpolationMode As InterpolationMode _
)
```
 
```csharp
public Rotate(float angle,Color backgroundColor,InterpolationMode interpolationMode
)
```
 
### Parameters
 
 - angle
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
An angle (in degrees) to rotate on. You can change it later via [Angle](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Rotate_Angle.htm.md) property.

 - backgroundColor
     - Type: [Aurigma.GraphicsMill.Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md)
Value specifying background color for the rotated image. You can change it later via [BackgroundColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Rotate_BackgroundColor.htm.md) property.

 - interpolationMode
     - Type: [Aurigma.GraphicsMill.Transforms.InterpolationMode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_InterpolationMode.htm.md)
 [InterpolationMode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_InterpolationMode.htm.md) value specifying interpolation algorithm used during rotation. You can change it later via [InterpolationMode](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Rotate_InterpolationMode.htm.md) property.
   
## See Also

### Reference

- [Rotate Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Rotate.htm.md)
- [Rotate Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_Rotate_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
