'Declaration Public Shared Sub RadialWave( _ ByVal page As ImGearRasterPage, _ ByVal center As ImGearPoint, _ ByVal amplitude As Single, _ ByVal frequency As Single, _ ByVal phase As Single, _ ByVal attenuation As Single, _ ByVal interpolate As Boolean, _ ByVal color As ImGearPixel _ )
'Usage Dim page As ImGearRasterPage Dim center As ImGearPoint Dim amplitude As Single Dim frequency As Single Dim phase As Single Dim attenuation As Single Dim interpolate As Boolean Dim color As ImGearPixel ImGearEffects.RadialWave(page, center, amplitude, frequency, phase, attenuation, interpolate, color)
public static void RadialWave( ImGearRasterPage page, ImGearPoint center, float amplitude, float frequency, float phase, float attenuation, bool interpolate, ImGearPixel color )
public: static void RadialWave( ImGearRasterPage* page, ImGearPoint center, float amplitude, float frequency, float phase, float attenuation, bool interpolate, ImGearPixel* color )
public: static void RadialWave( ImGearRasterPage^ page, ImGearPoint center, float amplitude, float frequency, float phase, float attenuation, bool interpolate, ImGearPixel^ color )
Parameters
- page
- Page specified.
- center
- Center of the wave effect.
- amplitude
- Wave amplitude. Measurement units - pixel / 100.
- frequency
- Wave frequency. The frequency is defined as 1 / T, where T is a wave period in pixels.
- phase
- Wave phase, in radians.
- attenuation
- Wave attenuation. The attenuation factor of the wave is calculated as exp(-attenuation * r), where r is a distance from the wave center to the current wave point.
- interpolate
- If this parameter is true then an interpolation is used during processing.
- color
- ImageGear.Core.ImGearPixel class color.