Graphics.DrawLines
DrawLines(Pen, Point[])
Draws a series of line segments that connect an array of Point
structures.
public void DrawLines(Pen pen, Point[] points)
Parameter | Type | Description |
---|
pen | Pen | Pen that determines the color, width, and style of the line segments. |
points | Point[] | Array of Point structures that represent the points to connect. |
Exceptions
exception | condition |
---|
ArgumentNullException | pen is null. -or- points is null. |
ArgumentException | The points array contains less than 2 points. |
See Also
DrawLines(Pen, PointF[])
Draws a series of line segments that connect an array of PointF
structures.
public void DrawLines(Pen pen, PointF[] points)
Parameter | Type | Description |
---|
pen | Pen | Pen that determines the color, width, and style of the line segments. |
points | PointF[] | Array of PointF structures that represent the points to connect. |
Exceptions
exception | condition |
---|
ArgumentNullException | pen is null. -or- points is null. |
ArgumentException | The points array contains less than 2 points. |
See Also