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

Swirl Constructor (Int32, Int32, Single, Color, InterpolationMode)

Creates and initializes Swirl class instance. You can set all swirl transform parameters here.

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

Syntax

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

Parameters

x

Type: System.Int32

X-coordinate of the swirl center. Can be modified later through Center property.
y

Type: System.Int32

Y-coordinate of the swirl center. Can be modified later through Center property.
scaleFactor

Type: System.Single

Swirl scale factor. Can be modified later through ScaleFactor property.
backgroundColor

Type: Aurigma.GraphicsMill.Color

Value specifying background color for the swirled image. Can be modified later through BackgroundColor property.
interpolationMode

Type: Aurigma.GraphicsMill.Transforms.InterpolationMode

InterpolationMode value specifying interpolation algorithm used during swirling. Can be modified later through InterpolationMode property.

See Also

Reference