---
title: "WaterDrop Constructor (Int32, Int32, Single, Single, Single, Color, InterpolationMode)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Transforms_WaterDrop_ctor_7_f98fb61f.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/)

# WaterDrop Constructor (Int32, Int32, Single, Single, Single, Color, InterpolationMode)
 
Creates and initializes [WaterDrop](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_WaterDrop.htm.md) class instance. You can specify all water drop settings here.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub New ( _x As Integer, _y As Integer, _radius As Single, _amplitude As Single, _wavelength As Single, _backgroundColor As Color, _interpolationMode As InterpolationMode _
)
```
 
```csharp
public WaterDrop(int x,int y,float radius,float amplitude,float wavelength,Color backgroundColor,InterpolationMode interpolationMode
)
```
 
### Parameters
 
 - x
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
X-coordinate of the center point of the water drop. You can change it later via [Center](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_WaterDrop_Center.htm.md) property.

 - y
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Y-coordinate of the center point of the water drop. You can change it later via [Center](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_WaterDrop_Center.htm.md) property.

 - radius
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Radius of the water drop. You can change it later via [Radius](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_WaterDrop_Radius.htm.md) property.

 - amplitude
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Amplitude of the water drop. You can change it later via [Amplitude](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_WaterDrop_Amplitude.htm.md) property.

 - wavelength
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
A wave length of the ripples. You can change it later via [Wavelength](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_WaterDrop_Wavelength.htm.md) property.

 - backgroundColor
     - Type: [Aurigma.GraphicsMill.Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md)
Value specifying background color for the distorted image. You can change it later via [BackgroundColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_WaterDrop_BackgroundColor.htm.md) property.

 - 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 water drop transformation. You can change it later via [InterpolationMode](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_WaterDrop_InterpolationMode.htm.md) property.
   
## See Also

### Reference

- [WaterDrop Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_WaterDrop.htm.md)
- [WaterDrop Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_WaterDrop_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
