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

TransformsProvider.WaterDrop Method (Int32, Int32, Single, Single, Single, Color, InterpolationMode)

Applies water drop transform (effect of ripples on the water).

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub WaterDrop ( _
	x As Integer, _
	y As Integer, _
	radius As Single, _
	amplitude As Single, _
	wavelength As Single, _
	backgroundColor As Color, _
	interpolationMode As InterpolationMode _
)
C#
public void WaterDrop(
	int x,
	int y,
	float radius,
	float amplitude,
	float wavelength,
	Color backgroundColor,
	InterpolationMode interpolationMode
)

Parameters

x

Type: System.Int32

X-coordinate of the center point of the water drop.
y

Type: System.Int32

Y-coordinate of the center point of the water drop.
radius

Type: System.Single

Radius of the water drop.
amplitude

Type: System.Single

Amplitude of the water drop.
wavelength

Type: System.Single

Wave length of the ripples.
backgroundColor

Type: Aurigma.GraphicsMill.Color

Value specifying background color for the distorted image.
interpolationMode

Type: Aurigma.GraphicsMill.Transforms.InterpolationMode

InterpolationMode value specifying interpolation algorithm used during water drop transformation.

Remarks

You can also use WaterDrop class to apply this transform.

See Also

Reference