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

Swirl Constructor (Point, 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 ( _
	center As Point, _
	scaleFactor As Single, _
	backgroundColor As Color, _
	interpolationMode As InterpolationMode _
)
C#
public Swirl(
	Point center,
	float scaleFactor,
	Color backgroundColor,
	InterpolationMode interpolationMode
)

Parameters

center

Type: System.Drawing.Point

Point specifying 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