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

TransformsProvider.Cylindrize Method (Single, Color, Color, InterpolationMode)

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, _
	cylinderColor As Color, _
	backgroundColor As Color, _
	interpolationMode As InterpolationMode _
)
C#
public void Cylindrize(
	float slopeAngle,
	Color cylinderColor,
	Color backgroundColor,
	InterpolationMode interpolationMode
)

Parameters

slopeAngle

Type: System.Single

Slope angle of the cylinder.
cylinderColor

Type: Aurigma.GraphicsMill.Color

Cylinder color value.
backgroundColor

Type: Aurigma.GraphicsMill.Color

Background color value.
interpolationMode

Type: Aurigma.GraphicsMill.Transforms.InterpolationMode

InterpolationMode value specifying interpolation algorithm used in the transform.

Remarks

You can also use Cylindrize class to apply this transform.

See Also

Reference