Table of Contents

Method DrawLines

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

DrawLines(Pen, PointD[])

Draws a series of line segments that connect an array of PointD structures.

public abstract void DrawLines(Pen pen, PointD[] points)

Parameters

pen Pen

Pen that determines the color, width, and style of the line segments.

points 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

pen is null.