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

TransformsProvider.Swirl Method (Int32, Int32, Single)

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 _
)
C#
public void Swirl(
	int x,
	int y,
	float scaleFactor
)

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.

Remarks

You can also use Swirl class to apply this transform.

Examples

Visual Basic
bitmap.Transforms.Swirl(bitmap.Width \ 2, bitmap.Height \ 2, 2)
C#
bitmap.Transforms.Swirl(bitmap.Width / 2, bitmap.Height / 2, 2);

See Also

Reference