ImageGear for .NET
Ripple Method




Page to apply the effect to.
Strength of the ripple effect.
X period of the ripple pattern in pixels.
Y period of the ripple pattern in pixels.
Identifies a predefined ripple pattern.
Specifies how much the ripple pattern should be smoothed before applying.
Inverts the ripple pattern, effectifely swapping 'convex' and 'concave' areas.
This method provides the ripple effect on the image, as if it is looked at through a relief glass.
Syntax
'Declaration
 
Public Shared Sub Ripple( _
   ByVal page As ImGearRasterPage, _
   ByVal depth As Single, _
   ByVal periodX As Integer, _
   ByVal periodY As Integer, _
   ByVal pattern As ImGearRipplePattern, _
   ByVal smoothness As Single, _
   ByVal invert As Boolean _
) 
'Usage
 
Dim page As ImGearRasterPage
Dim depth As Single
Dim periodX As Integer
Dim periodY As Integer
Dim pattern As ImGearRipplePattern
Dim smoothness As Single
Dim invert As Boolean
 
ImGearEffects.Ripple(page, depth, periodX, periodY, pattern, smoothness, invert)
public static void Ripple( 
   ImGearRasterPage page,
   float depth,
   int periodX,
   int periodY,
   ImGearRipplePattern pattern,
   float smoothness,
   bool invert
)
public: static void Ripple( 
   ImGearRasterPage* page,
   float depth,
   int periodX,
   int periodY,
   ImGearRipplePattern pattern,
   float smoothness,
   bool invert
) 
public:
static void Ripple( 
   ImGearRasterPage^ page,
   float depth,
   int periodX,
   int periodY,
   ImGearRipplePattern pattern,
   float smoothness,
   bool invert
) 

Parameters

page
Page to apply the effect to.
depth
Strength of the ripple effect.
periodX
X period of the ripple pattern in pixels.
periodY
Y period of the ripple pattern in pixels.
pattern
Identifies a predefined ripple pattern.
smoothness
Specifies how much the ripple pattern should be smoothed before applying.
invert
Inverts the ripple pattern, effectifely swapping 'convex' and 'concave' areas.
Remarks
This method provides the ripple effect on the image, as if it is looked at through a relief glass. The method uses one of the prefefined ripple patterns.
See Also

Reference

ImGearEffects Class
ImGearEffects Members
ImGearRasterPage Class
RippleFreeHand Method
RippleTexture Method
ImGearRipplePattern Enumeration

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback