ImageGear Professional v18.2 > API Reference Guide > Effects Component API Reference > Effects Component Objects > IGEffectsCtl Control > IGEffectsCtl Methods > RippleTexture Method |
Provides the ripple effect on the image, as if it is looked at through a relief glass. The function 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.
Sub RippleTexture(Page As IGPage, Texture As IGPage, Depth As
Single, Scale As Single, XOffset As Long, YOffset As Long,
smoothness As Single, Invert As Boolean)
Name | Description |
---|---|
Page | IGPage Object to which to apply the effect. |
Texture | IGPage Object to use as a ripple pattern. |
Depth | Strength of the ripple effect. |
Scale | Specifies the scaling factor for pattern image. |
XOffset | Horizontal offset at which the upper left corner of the ripple texture shall be placed. |
YOffset | Horizontal 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. |
N/A
All color spaces for image, DibStd for texture. The first channel of the texture is used as ripple mask.
Image Processing and Effects