You’re viewing outdated documentation. View the latest Graphics Mill documentation.

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

Applies to: Graphics Mill 5.5, 3.x-5.x (may differ) · Archived documentation

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 Single, _
	y As Single, _
	radius As Single, _
	amplitude As Single, _
	wavelength As Single, _
	backgroundColor As Color, _
	interpolationMode As InterpolationMode _
)
C#
public void WaterDrop(
	float x,
	float y,
	float radius,
	float amplitude,
	float wavelength,
	Color backgroundColor,
	InterpolationMode interpolationMode
)

Parameters

x

Type: System.Single

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

Type: System.Single

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