Visual Basic
C#
Managed Extensions for C++
C++/CLI
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.
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.