---
title: "TransformsProvider..::.Swirl Method (PointF, Single, Color, InterpolationMode)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_TransformsProvider_Swirl_4_03ca1d44.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# TransformsProvider.Swirl Method (PointF, Single, Color, InterpolationMode)
 
Applies swirl transform on the image.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub Swirl ( _center As PointF, _scaleFactor As Single, _backgroundColor As Color, _interpolationMode As InterpolationMode _
)
```
 
```csharp
public void Swirl(PointF center,float scaleFactor,Color backgroundColor,InterpolationMode interpolationMode
)
```
 
### Parameters
 
 - center
     - Type: [System.Drawing.PointF](http://msdn2.microsoft.com/en-us/ckys1c1e)
Point that specifies swirl center.

 - scaleFactor
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Swirl scale factor.

 - backgroundColor
     - Type: [Aurigma.GraphicsMill.Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md)
Value specifying background color for the swirled image.

 - interpolationMode
     - Type: [Aurigma.GraphicsMill.Transforms.InterpolationMode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_InterpolationMode.htm.md)
 [InterpolationMode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_InterpolationMode.htm.md) value specifying interpolation algorithm used during swirling.
 
## Remarks
 You can also use [Swirl](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Swirl.htm.md) class to apply this transform.
   
## See Also

### Reference

- [TransformsProvider Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_TransformsProvider.htm.md)
- [Swirl Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_TransformsProvider_Swirl.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
