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

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,
	Color cupColor,
	Color backgroundColor,
	InterpolationMode mode
)

Parameters

slopeAngle

Type: System.Single

A slope angle of the cylinder.
cupColor

Type: Aurigma.GraphicsMill.Color

The cylinder color.
backgroundColor

Type: Aurigma.GraphicsMill.Color

mode

Type: Aurigma.GraphicsMill.Transforms.InterpolationMode

A InterpolationMode specifying interpolation algorithm used in the transform.

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