WebPlanner Programmer's Guide

GraphicsEx.DrawPolygon Method

See Also
 


Draws a polygon defined by an array of .NET Point structures.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Scheduling.Compact

 Syntax

C#  Copy Code

public void DrawPolygon (
    Pen pen,
    Point[] points
)

Visual Basic  Copy Code

Public Sub DrawPolygon ( _
    pen As Pen, _
    points() As Point _
)

 Parameters

pen
A .NET System.Drawing.Pen object that determines the color of the polygon.
points
An array of .NET Point structures that represent the vertices of the polygon.

 Remarks

Every pair of two consecutive points in the array specifies a side of the polygon. In addition, if the last point and the first point of the array do not coincide, they specify the last side of the polygon.

 See Also