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

TransformsProvider.Cylindrize Method (Single, Single, 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, _
	horizontalOffset As Single, _
	verticalOffset As Single _
)
C#
public void Cylindrize(
	float slopeAngle,
	float cylinderHalfPerimeter,
	float cylinderHeight,
	float horizontalOffset,
	float verticalOffset
)

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

Type: System.Single

Horizontal offset of the bitmap on the cylinder.
verticalOffset

Type: System.Single

Vertical offset of the bitmap on the cylinder.

Remarks

You can also use Cylindrize class to apply this transform.

See Also

Reference