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

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

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 _
)
C#
public void WaterDrop(
	int x,
	int y,
	float radius,
	float amplitude,
	float wavelength
)

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.

Remarks

You can also use WaterDrop class to apply this transform.

Examples

Visual Basic
bitmap.Transforms.WaterDrop(bitmap.Width \ 2, bitmap.Height \ 2, 100, 20, 50)
C#
bitmap.Transforms.WaterDrop(bitmap.Width / 2, bitmap.Height / 2, 100, 20, 50);

See Also

Reference