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

TransformsProvider.Swirl Method (Int32, Int32, Single, Color, InterpolationMode)

Applies swirl transform on the image.

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

Syntax

Visual Basic
Public Sub Swirl ( _
	x As Integer, _
	y As Integer, _
	scaleFactor As Single, _
	backgroundColor As Color, _
	interpolationMode As InterpolationMode _
)
C#
public void Swirl(
	int x,
	int y,
	float scaleFactor,
	Color backgroundColor,
	InterpolationMode interpolationMode
)

Parameters

x

Type: System.Int32

X-coordinate of the swirl center.
y

Type: System.Int32

Y-coordinate of the swirl center.
scaleFactor

Type: System.Single

Swirl scale factor.
backgroundColor

Type: Aurigma.GraphicsMill.Color

Value specifying background color for the swirled image.
interpolationMode

Type: Aurigma.GraphicsMill.Transforms.InterpolationMode

InterpolationMode value specifying interpolation algorithm used during swirling.

Remarks

You can also use Swirl class to apply this transform.

See Also

Reference