---
title: "Wave Constructor (Single, Single, Int32, Single, Single, Int32, WaveType)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Transforms_Wave_ctor_7_b151572a.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Wave Constructor (Single, Single, Int32, Single, Single, Int32, WaveType)
 
Creates and initializes [Wave](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Wave.htm.md) class instance. You can set wave settings and wave form here.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub New ( _horizontalAmplitude As Single, _horizontalWavelength As Single, _horizontalStartPhase As Integer, _verticalAmplitude As Single, _verticalWavelength As Single, _verticalStartPhase As Integer, _waveType As WaveType _
)
```
 
```csharp
public Wave(float horizontalAmplitude,float horizontalWavelength,int horizontalStartPhase,float verticalAmplitude,float verticalWavelength,int verticalStartPhase,WaveType waveType
)
```
 
### Parameters
 
 - horizontalAmplitude
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Amplitude for horizontal wave. You can change it later via [HorizontalAmplitude](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Wave_HorizontalAmplitude.htm.md) property.

 - horizontalWavelength
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Length of the horizontal wave. You can change it later via [HorizontalWavelength](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Wave_HorizontalWavelength.htm.md) property.

 - horizontalStartPhase
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Horizontal wave start phase (in degrees). You can change it later via [HorizontalStartPhase](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Wave_HorizontalStartPhase.htm.md) property.

 - verticalAmplitude
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Amplitude for vertical wave. You can change it later via [VerticalAmplitude](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Wave_VerticalAmplitude.htm.md) property.

 - verticalWavelength
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Length of the vertical wave. You can change it later via [VerticalWavelength](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Wave_VerticalWavelength.htm.md) property.

 - verticalStartPhase
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Vertical wave start phase (in degrees). You can change it later via [VerticalStartPhase](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Wave_VerticalStartPhase.htm.md) property.

 - waveType
     - Type: [Aurigma.GraphicsMill.Transforms.WaveType](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_WaveType.htm.md)
 [WaveType](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_WaveType.htm.md) value that specifies a form of the wave. You can change it later via [WaveType](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Wave_WaveType.htm.md) property.
   
## See Also

### Reference

- [Wave Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Wave.htm.md)
- [Wave Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_Wave_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
