'Declaration
Public Function DrawPolygon( _ ByVal ImageID As Integer, _ ByVal arPoints() As GdPicturePoint, _ ByVal PenWidth As Integer, _ ByVal PenColor As GdPictureColor, _ ByVal AntiAlias As Boolean _ ) As GdPictureStatus
public GdPictureStatus DrawPolygon( int ImageID, GdPicturePoint[] arPoints, int PenWidth, GdPictureColor PenColor, bool AntiAlias )
public function DrawPolygon( ImageID: Integer; arPoints: GdPicturePointarray of; PenWidth: Integer; PenColor: GdPictureColor; AntiAlias: Boolean ): GdPictureStatus;
public function DrawPolygon( ImageID : int, arPoints : GdPicturePoint[], PenWidth : int, PenColor : GdPictureColor, AntiAlias : boolean ) : GdPictureStatus;
public: GdPictureStatus DrawPolygon( int ImageID, GdPicturePoint[]* arPoints, int PenWidth, GdPictureColor PenColor, bool AntiAlias )
public: GdPictureStatus DrawPolygon( int ImageID, array<GdPicturePoint>^ arPoints, int PenWidth, GdPictureColor PenColor, bool AntiAlias )
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.