ImageGear .NET
Pointillist Method




Image to apply pointillist effect to.
Average size of each point (in pixels).
Type of brush to use for each point. Determines the shape of the point.
Smoothness factor for each point. This value typically ranges from 0 to 100.
Specifies a background color to use. If this parameter is null, all points fit together smoothly with no gaps. If this parameter specifies a background a color, there are some occasional gaps which are set to the specified background color.
Applies an effect to an image that makes it appear to have been painted in the pointillism style of painting.
Syntax
'Declaration
 
Public Shared Sub Pointillist( _
   ByVal page As ImGearRasterPage, _
   ByVal pointSize As Integer, _
   ByVal pointType As ImGearBrushType, _
   ByVal smoothness As Integer, _
   ByVal color As ImGearPixel _
) 
'Usage
 
Dim page As ImGearRasterPage
Dim pointSize As Integer
Dim pointType As ImGearBrushType
Dim smoothness As Integer
Dim color As ImGearPixel
 
ImGearEffects.Pointillist(page, pointSize, pointType, smoothness, color)
public static void Pointillist( 
   ImGearRasterPage page,
   int pointSize,
   ImGearBrushType pointType,
   int smoothness,
   ImGearPixel color
)
public: static void Pointillist( 
   ImGearRasterPage* page,
   int pointSize,
   ImGearBrushType pointType,
   int smoothness,
   ImGearPixel* color
) 
public:
static void Pointillist( 
   ImGearRasterPage^ page,
   int pointSize,
   ImGearBrushType pointType,
   int smoothness,
   ImGearPixel^ color
) 

Parameters

page
Image to apply pointillist effect to.
pointSize
Average size of each point (in pixels).
pointType
Type of brush to use for each point. Determines the shape of the point.
smoothness
Smoothness factor for each point. This value typically ranges from 0 to 100.
color
Specifies a background color to use. If this parameter is null, all points fit together smoothly with no gaps. If this parameter specifies a background a color, there are some occasional gaps which are set to the specified background color.
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
ImGearBrushType Enumeration
ImGearPixel Class

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback