ImageGear .NET
RippleTexture Method




Page to apply the effect to.
Page to use as the ripple pattern.
Strength of the ripple effect.
Specifies the scaling factor for pattern image.
Horizontal offset at which the upper left corner of the ripple texture shall be placed.
Vertical offset at which the upper left corner of the ripple texture shall be placed.
Specifies how much the ripple pattern should be smoothed before applying.
Inverts the ripple pattern, effectively 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 RippleTexture( _
   ByVal page As ImGearRasterPage, _
   ByVal texture As ImGearRasterPage, _
   ByVal depth As Single, _
   ByVal scale As Single, _
   ByVal offsetX As Integer, _
   ByVal offsetY As Integer, _
   ByVal smoothness As Single, _
   ByVal invert As Boolean _
) 
'Usage
 
Dim page As ImGearRasterPage
Dim texture As ImGearRasterPage
Dim depth As Single
Dim scale As Single
Dim offsetX As Integer
Dim offsetY As Integer
Dim smoothness As Single
Dim invert As Boolean
 
ImGearEffects.RippleTexture(page, texture, depth, scale, offsetX, offsetY, smoothness, invert)
public static void RippleTexture( 
   ImGearRasterPage page,
   ImGearRasterPage texture,
   float depth,
   float scale,
   int offsetX,
   int offsetY,
   float smoothness,
   bool invert
)
public: static void RippleTexture( 
   ImGearRasterPage* page,
   ImGearRasterPage* texture,
   float depth,
   float scale,
   int offsetX,
   int offsetY,
   float smoothness,
   bool invert
) 
public:
static void RippleTexture( 
   ImGearRasterPage^ page,
   ImGearRasterPage^ texture,
   float depth,
   float scale,
   int offsetX,
   int offsetY,
   float smoothness,
   bool invert
) 

Parameters

page
Page to apply the effect to.
texture
Page to use as the ripple pattern.
depth
Strength of the ripple effect.
scale
Specifies the scaling factor for pattern image.
offsetX
Horizontal offset at which the upper left corner of the ripple texture shall be placed.
offsetY
Vertical offset at which the upper left corner of the ripple texture shall be placed.
smoothness
Specifies how much the ripple pattern should be smoothed before applying.
invert
Inverts the ripple pattern, effectively 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 an image as a ripple pattern. If the scaled ripple pattern image is smaller than the source image, or if offsets are greater than 0, pattern is repeated over the image.
See Also

Reference

ImGearEffects Class
ImGearEffects Members
ImGearRasterPage Class
Ripple Method
RippleFreeHand Method

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback