This documentation is for the old version. Go to the latest Graphics Mill docs

TransformsProvider.Cylindrize Method (Single, Single, Single)

Applies cylindrize transform (image is looking like bended on mug or any other cylindric surface).

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

Syntax

Visual Basic
Public Sub Cylindrize ( _
	slopeAngle As Single, _
	cylinderHalfPerimeter As Single, _
	cylinderHeight As Single _
)
C#
public void Cylindrize(
	float slopeAngle,
	float cylinderHalfPerimeter,
	float cylinderHeight
)

Parameters

slopeAngle

Type: System.Single

Slope angle of the cylinder.
cylinderHalfPerimeter

Type: System.Single

Positive number specifying half-perimeter of the cylinder. You can also specify -1. In this case width of the bitmap will be taken.
cylinderHeight

Type: System.Single

Positive number specifying height of the cylinder. You can also specify -1. In this case height of the bitmap will be taken.

Remarks

You can also use Cylindrize class to apply this transform.

See Also

Reference