Method DrawLine
DrawLine(Pen, PointD, PointD)
Draws a line connecting two points.
public override void DrawLine(Pen pen, PointD a, PointD b)Parameters
- penPen
- Pen that determines the color, width, and style of the line. 
- aPointD
- PointD structure that represents the first point to connect. 
- bPointD
- PointD structure that represents the second point to connect. 
Exceptions
- ArgumentNullException
- penis null.