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

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

Parameters

center

Type: System.Drawing.PointF

Point structure that specifies 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