| ImageGear Professional v18.2 > API Reference Guide > Effects Component API Reference > Effects Component Objects > IGEffectsCtl Control > IGEffectsCtl Methods > Spatter Method |
Applies a spatter effect to an image, making it look as if it was painted in the impressionist style of painting. The painted points are randomly generated, hence creating a slightly different look to the image each time the method is applied with the exact same settings.
Sub Spatter(Page As IGPage, diffusionHor As Long, diffusionVert
As Long, smoothness As Long)
| Name | Description |
|---|---|
| Page | IGPage Object to which to apply the effect. |
| diffusionHor | Factor of horizontal diffusion. The greater this value, the deeper the horizontal diffusion. Typical values range from 1 to 20. |
| diffusionVert | Factor of vertical diffusion. The greater this value, the deeper the vertical diffusion. Typical values range from 1 to 20. |
| smoothness | Smoothness factor of diffusion. Typical values range from 0 to 100. |
N/A
All.
Image Processing and Effects