GdPicture image identifier.
Array of System.Drawing.Point that specifies the vertices of the polygon.
Color of the filled polygon. A suitable color value can be obtained by using the ARGB() method.
Specifies how to fill a closed area that is within another closed area and that is created when the polygon or path passes over itself.A member of the Drawing2D.FillMode enumeration.
Set to True to apply the Antialiasing algorithm else False.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / DrawFilledPolygon Method

DrawFilledPolygon Method (GdPictureImaging)

In This Topic
Draws a filled polygon on a GdPicture image.
Syntax
'Declaration
 
Public Function DrawFilledPolygon( _
   ByVal ImageID As Integer, _
   ByVal arPoints() As GdPicturePoint, _
   ByVal FillColor As GdPictureColor, _
   ByVal FillMD As GdPictureFillMode, _
   ByVal AntiAlias As Boolean _
) As GdPictureStatus
public function DrawFilledPolygon( 
    ImageID: Integer;
    arPoints: GdPicturePointarray of;
    FillColor: GdPictureColor;
    FillMD: GdPictureFillMode;
    AntiAlias: Boolean
): GdPictureStatus; 
public function DrawFilledPolygon( 
   ImageID : int,
   arPoints : GdPicturePoint[],
   FillColor : GdPictureColor,
   FillMD : GdPictureFillMode,
   AntiAlias : boolean
) : GdPictureStatus;

Parameters

ImageID
GdPicture image identifier.
arPoints
Array of System.Drawing.Point that specifies the vertices of the polygon.
FillColor
Color of the filled polygon. A suitable color value can be obtained by using the ARGB() method.
FillMD
Specifies how to fill a closed area that is within another closed area and that is created when the polygon or path passes over itself.A member of the Drawing2D.FillMode enumeration.
AntiAlias
Set to True to apply the Antialiasing algorithm else False.

Return Value

A member of the GdPictureStatus enumeration.
Remarks

This method requires the Image Documents component to run.

If the first and last coordinates in the points array are not identical, a line is drawn between them to close the polygon.
See Also