public void DrawLine(
D2DPen pen,
Point startPoint,
Point endPoint
)
pen
D2DPen that determines the Pen brush, thickness, and style.
startPoint
The start point of the line.
endPoint
The end point of the line.
This method draws a line between the specified points using the specified Pen style.