Method DrawLines
DrawLines(Pen, ReadOnlySpan<PointD>)
Draws a series of line segments that connect an array of PointD structures.
public abstract void DrawLines(Pen pen, ReadOnlySpan<PointD> points)
Parameters
penPenPen that determines the color, width, and style of the line segments.
pointsReadOnlySpan<PointD>Array of PointD 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
- ArgumentNullException
penis null.