'Declaration
Public Function DrawPolygon( _ ByVal ImageID As Integer, _ ByVal arPoints() As Point, _ ByVal PenWidth As Integer, _ ByVal PenColor As Color, _ ByVal AntiAlias As Boolean _ ) As GdPictureStatus
public GdPictureStatus DrawPolygon( int ImageID, Point[] arPoints, int PenWidth, Color PenColor, bool AntiAlias )
public function DrawPolygon( ImageID: Integer; arPoints: Pointarray of; PenWidth: Integer; PenColor: Color; AntiAlias: Boolean ): GdPictureStatus;
public function DrawPolygon( ImageID : int, arPoints : Point[], PenWidth : int, PenColor : Color, AntiAlias : boolean ) : GdPictureStatus;
Parameters
- ImageID
- GdPicture image identifier.
- arPoints
- Array of System.Drawing.Point that specifies the vertices of the polygon.
- PenWidth
- The width in pixels of the pen used to draw the polygon.
- PenColor
- Color of the polygon. A suitable color value can be obtained by using the ARGB() method.
- AntiAlias
- Set to True to apply the Antialiasing algorithm else False.
Return Value
A member of the GdPictureStatus enumeration.