ImageGear .NET - Updated
Spatter Method




ImageGear24.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class : Spatter Method
Image to apply spatter effect to.
Factor of horizontal diffusion. The greater this value, the deeper the horizontal diffusion. Typical values range from 1 to 20.
Factor of vertical diffusion. The greater this value, the deeper the vertical diffusion. Typical values range from 1 to 20.
Smoothness factor of diffusion. Typical values range from 0 to 100.
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 page As ImGearRasterPage, _
   ByVal horizontalDiffusion As Integer, _
   ByVal verticalDiffusion As Integer, _
   ByVal smoothness 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 page,
   int horizontalDiffusion,
   int verticalDiffusion,
   int smoothness
)
public: static void Spatter( 
   ImGearRasterPage* page,
   int horizontalDiffusion,
   int verticalDiffusion,
   int smoothness
) 
public:
static void Spatter( 
   ImGearRasterPage^ page,
   int horizontalDiffusion,
   int verticalDiffusion,
   int smoothness
) 

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.
Remarks
The painted points are randomly generated, therefore, the resultant image is different each time the method is applied with the exact same settings.
See Also

Reference

ImGearEffects Class
ImGearEffects Members
ImGearRasterPage Class