DrawPolygon Method (GdPictureImaging)
Draws a polygon on a GdPicture image.
public function DrawPolygon(
: Integer;
: Pointarray of;
: Integer;
: Color;
: Boolean
): GdPictureStatus;
public function DrawPolygon(
: int,
: Point[],
: int,
: Color,
: boolean
) : GdPictureStatus;
public:
GdPictureStatus DrawPolygon(
int ,
array<Point>^ ,
int ,
Color ,
bool
)
'Declaration
Public Function DrawPolygon( _
ByVal As Integer, _
ByVal () As Point, _
ByVal As Integer, _
ByVal As Color, _
ByVal As Boolean _
) As 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.