---
title: "Cylindrize Constructor (Single, Single, Single, Single, Single, Color, Color, InterpolationMode)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Transforms_Cylindrize_ctor_8_52514643.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/)

# Cylindrize Constructor (Single, Single, Single, Single, Single, Color, Color, InterpolationMode)
 
Creates new [Cylindrize](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Cylindrize.htm.md) class instance. You can set here cylinder parameters (half-perimeter and height), slope angle, and appearance details (colors, interpolation mode).
 
**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 ( _slopeAngle As Single, _cylinderHalfPerimeter As Single, _cylinderHeight As Single, _horizontalOffset As Single, _verticalOffset As Single, _cylinderColor As Color, _backgroundColor As Color, _interpolationMode As InterpolationMode _
)
```
 
```csharp
public Cylindrize(float slopeAngle,float cylinderHalfPerimeter,float cylinderHeight,float horizontalOffset,float verticalOffset,Color cylinderColor,Color backgroundColor,InterpolationMode interpolationMode
)
```
 
### Parameters
 
 - slopeAngle
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Slope angle of the cylinder. It can be changed later via [SlopeAngle](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Cylindrize_SlopeAngle.htm.md) property.

 - cylinderHalfPerimeter
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Positive number specifying half-perimeter of the cylinder. You can also specify -1. In this case width of the bitmap will be taken. This value can be changed later via [CylinderHalfPerimeter](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Cylindrize_CylinderHalfPerimeter.htm.md) property.

 - cylinderHeight
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Positive number specifying height of the cylinder. You can also specify -1. In this case height of the bitmap will be taken. This value can be changed later via [CylinderHeight](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Cylindrize_CylinderHeight.htm.md) property.

 - horizontalOffset
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Horizontal offset of the bitmap on the cylinder. This value can be changed later via [HorizontalOffset](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Cylindrize_HorizontalOffset.htm.md) property.

 - verticalOffset
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Vertical offset of the bitmap on the cylinder. This value can be changed later via [VerticalOffset](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Cylindrize_VerticalOffset.htm.md) property.

 - cylinderColor
     - Type: [Aurigma.GraphicsMill.Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md)
Cylinder color value. This value can be changed later via [CylinderColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Cylindrize_CylinderColor.htm.md) property.

 - backgroundColor
     - Type: [Aurigma.GraphicsMill.Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md)
Background color value. This value can be changed later via [BackgroundColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Cylindrize_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 in the transform. This value can be changed later via [InterpolationMode](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Cylindrize_InterpolationMode.htm.md) property.
   
## See Also

### Reference

- [Cylindrize Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Cylindrize.htm.md)
- [Cylindrize Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_Cylindrize_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
