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

TransformsProvider.Swirl Method (Single, Single, 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 Single, _
	y As Single, _
	scaleFactor As Single, _
	backgroundColor As Color, _
	interpolationMode As InterpolationMode _
)
C#
public void Swirl(
	float x,
	float y,
	float scaleFactor,
	Color backgroundColor,
	InterpolationMode interpolationMode
)

Parameters

x

Type: System.Single

X-coordinate of the swirl center.
y

Type: System.Single

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