---
title: "TransformsProvider.Cylindrize Method (Single, Int32, Int32, Color, Color, InterpolationMode)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_TransformsProvider_Cylindrize_6_a76b4a89.htm
product: "Graphics Mill"
---

# TransformsProvider.Cylindrize Method (Single, Int32, Int32, Color, Color, InterpolationMode)
 
Applies a cylindrize transformation on the bitmap using the specified settings.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public void Cylindrize(float slopeAngle,int cylinderHalfPerimeter,int cylinderHeight,Color cupColor,Color backgroundColor,InterpolationMode mode
)
```
 
### Parameters
 
 - slopeAngle
     - Type: System.Single
A slope angle of the cylinder.

 - cylinderHalfPerimeter
     - Type: System.Int32
A half-perimeter of the cylinder.

 - cylinderHeight
     - Type: System.Int32
The height of the cylinder.

 - cupColor
     - Type: [Aurigma.GraphicsMill.Color](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Color.htm.md)
The cylinder color.

 - backgroundColor
     - Type: [Aurigma.GraphicsMill.Color](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Color.htm.md)

 - mode
     - Type: [Aurigma.GraphicsMill.Transforms.InterpolationMode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_InterpolationMode.htm.md)
A [InterpolationMode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_InterpolationMode.htm.md) specifying interpolation algorithm used in the transform.
 
## Remarks
  
This method is useful if you need to emulate the image to be bended on the cylinder surface, for example, mug.
   
## See Also

### Reference

- [TransformsProvider Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_TransformsProvider.htm.md)
- [Cylindrize Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_TransformsProvider_Cylindrize.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
