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

TransformsProvider.WaterDrop Method (PointF, 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 ( _
	center As PointF, _
	radius As Single, _
	amplitude As Single, _
	wavelength As Single, _
	backgroundColor As Color, _
	interpolationMode As InterpolationMode _
)
C#
public void WaterDrop(
	PointF center,
	float radius,
	float amplitude,
	float wavelength,
	Color backgroundColor,
	InterpolationMode interpolationMode
)

Parameters

center

Type: System.Drawing.PointF

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