TransformsProvider.Cylindrize Method (Single, Int32, Int32, Int32, Int32)

Applies a cylindrize transformation on the bitmap using the specified settings.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public void Cylindrize(
	float slopeAngle,
	int cylinderHalfPerimeter,
	int cylinderHeight,
	int horizontalOffset,
	int verticalOffset
)

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.
horizontalOffset

Type: System.Int32

The horizontal offset of the bitmap on the cylinder.
verticalOffset

Type: System.Int32

The vertical offset of the bitmap on the cylinder.

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