This method applies a spatter effect to an image, making it look as if it was painted in the
impressionist style of painting.
Syntax
'Declaration
Public Shared Sub Spatter( _
ByVal As ImGearRasterPage, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer _
)
'Usage
Dim page As ImGearRasterPage
Dim horizontalDiffusion As Integer
Dim verticalDiffusion As Integer
Dim smoothness As Integer
ImGearEffects.Spatter(page, horizontalDiffusion, verticalDiffusion, smoothness)
public static void Spatter(
ImGearRasterPage ,
int ,
int ,
int
)
public: static void Spatter(
ImGearRasterPage* ,
int ,
int ,
int
)
public:
static void Spatter(
ImGearRasterPage^ ,
int ,
int ,
int
)
Parameters
- page
- Image to apply spatter effect to.
- horizontalDiffusion
- Factor of horizontal diffusion. The greater this value, the deeper the
horizontal diffusion. Typical values range from 1 to 20.
- verticalDiffusion
- 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.
See Also