DrawLines Method
DrawLines(Pen, Point[])
Draws a series of line segments that connect an array of Point structures.
Declaration
public void DrawLines(Pen pen, Point[] points)
Parameters
Type | Name | Description |
---|---|---|
Pen | pen | Pen that determines the color, width, and style of the line segments. |
Point[] | points | Array of Point structures that represent the points to connect. |
Remarks
This method draws a series of lines connecting an array of ending points. The first two points in the array specify the first line. Each additional point specifies the end of a line segment whose starting point is the ending point of the previous line segment.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|