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

Wave Constructor (Single, Single, Int32, Single, Single, Int32)

Creates and initializes Wave class instance. You can set wave settings here.

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

Syntax

Visual Basic
Public Sub New ( _
	horizontalAmplitude As Single, _
	horizontalWavelength As Single, _
	horizontalStartPhase As Integer, _
	verticalAmplitude As Single, _
	verticalWavelength As Single, _
	verticalStartPhase As Integer _
)
C#
public Wave(
	float horizontalAmplitude,
	float horizontalWavelength,
	int horizontalStartPhase,
	float verticalAmplitude,
	float verticalWavelength,
	int verticalStartPhase
)

Parameters

horizontalAmplitude

Type: System.Single

Amplitude for horizontal wave. You can change it later via HorizontalAmplitude property.
horizontalWavelength

Type: System.Single

Length of the horizontal wave. You can change it later via HorizontalWavelength property.
horizontalStartPhase

Type: System.Int32

Horizontal wave start phase (in degrees). You can change it later via HorizontalStartPhase property.
verticalAmplitude

Type: System.Single

Amplitude for vertical wave. You can change it later via VerticalAmplitude property.
verticalWavelength

Type: System.Single

Length of the vertical wave. You can change it later via VerticalWavelength property.
verticalStartPhase

Type: System.Int32

Vertical wave start phase (in degrees). You can change it later via VerticalStartPhase property.

See Also

Reference