---
title: "PageCurl Constructor (Single, Single, Direction, Orientation, Color, Color)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Transforms_PageCurl_ctor_6_758c859e.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/)

# PageCurl Constructor (Single, Single, Direction, Orientation, Color, Color)
 
Creates and initializes new [PageCurl](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_PageCurl.htm.md) class instance. You can set all curl parameters 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 ( _width As Single, _height As Single, _corner As Direction, _orientation As Orientation, _curlColor As Color, _backgroundColor As Color _
)
```
 
```csharp
public PageCurl(float width,float height,Direction corner,Orientation orientation,Color curlColor,Color backgroundColor
)
```
 
### Parameters
 
 - width
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Width of the image corner to curl. You can change this value later using [Width](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_PageCurl_Width.htm.md) property.

 - height
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Height of the image corner to curl. You can change this value later using [Height](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_PageCurl_Height.htm.md) property.

 - corner
     - Type: [Aurigma.GraphicsMill.Transforms.Direction](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Direction.htm.md)
 [Direction](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Direction.htm.md) specifying a corner of the image to curl. You can change this value later using [Corner](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_PageCurl_Corner.htm.md) property.

 - orientation
     - Type: [Aurigma.GraphicsMill.Transforms.Orientation](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Orientation.htm.md)
 [Orientation](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Orientation.htm.md) value that specifies orientation of the curl. You can change this value later using [Orientation](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_PageCurl_Orientation.htm.md) property.

 - curlColor
     - Type: [Aurigma.GraphicsMill.Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md)
Value specifying a curl color. You can change this value later using [CurlColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_PageCurl_CurlColor.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 curled image. You can change this value later using [BackgroundColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_PageCurl_BackgroundColor.htm.md) property.
   
## See Also

### Reference

- [PageCurl Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_PageCurl.htm.md)
- [PageCurl Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_PageCurl_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
