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

WaterDrop Constructor (Single, Single, Single, Single, Single, Color, InterpolationMode)

Creates and initializes WaterDrop class instance. You can specify all water drop settings here.

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

Syntax

Visual Basic
Public Sub New ( _
	x As Single, _
	y As Single, _
	radius As Single, _
	amplitude As Single, _
	wavelength As Single, _
	backgroundColor As Color, _
	interpolationMode As InterpolationMode _
)
C#
public 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. You can change it later via Center property.
y

Type: System.Single

Y-coordinate of the center point of the water drop. You can change it later via Center property.
radius

Type: System.Single

Radius of the water drop. You can change it later via Radius property.
amplitude

Type: System.Single

Amplitude of the water drop. You can change it later via Amplitude property.
wavelength

Type: System.Single

A wave length of the ripples. You can change it later via Wavelength property.
backgroundColor

Type: Aurigma.GraphicsMill.Color

Value specifying background color for the distorted image. You can change it later via BackgroundColor property.
interpolationMode

Type: Aurigma.GraphicsMill.Transforms.InterpolationMode

InterpolationMode value specifying interpolation algorithm used during water drop transformation. You can change it later via InterpolationMode property.

See Also

Reference