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

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

Parameters

center

Type: System.Drawing.PointF

Point that specifies 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