ImageGear21.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class : DirectionalWave Method |
'Declaration Public Shared Sub DirectionalWave( _ ByVal page As ImGearRasterPage, _ ByVal angle As Single, _ 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 angle As Single 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.DirectionalWave(page, angle, amplitude, frequency, phase, attenuation, interpolate, color)
public static void DirectionalWave( ImGearRasterPage page, float angle, float amplitude, float frequency, float phase, float attenuation, bool interpolate, ImGearPixel color )
public: static void DirectionalWave( ImGearRasterPage* page, float angle, float amplitude, float frequency, float phase, float attenuation, bool interpolate, ImGearPixel* color )
public: static void DirectionalWave( ImGearRasterPage^ page, float angle, float amplitude, float frequency, float phase, float attenuation, bool interpolate, ImGearPixel^ color )
// Warps the image with a wave at a 45 degree angle, an amplitude of 0.25, frequency of 50 pixels, // 0 phase, and no attenuation. Interpolation is enabled, and no fill color is specified. ImGearEffects.DirectionalWave( igRasterPage, (float)(45.0 / 180.0 * Math.PI), (float)(0.25), (float)(1.0 / 50.0), (float)(0.0), (float)(0.0), true, null);
' Warps the image with a wave at a 45 degree angle, an amplitude of 0.25, frequency of 50 pixels, ' 0 phase, and no attenuation. Interpolation is enabled, and no fill color is specified. ImGearEffects.DirectionalWave(igRasterPage, CSng((45 / 180 * Math.PI)), CSng((0.25)), CSng((1 / 50)), _ CSng((0)), CSng((0)), True, Nothing)