[]
Draw line from this document.
public void DrawLine(Pen pen, Point pt1, Point pt2)
Type | Name | Description |
---|---|---|
Pen | pen | The drawing pen. |
Point | pt1 | The first point of the line. |
Point | pt2 | The second point of the line. |
Draw line from this document.
public void DrawLine(Pen pen, double x1, double y1, double x2, double y2)
Type | Name | Description |
---|---|---|
Pen | pen | The drawing pen. |
double | x1 | The x first coordinate. |
double | y1 | The y first coordinate. |
double | x2 | The x second coordinate. |
double | y2 | The y second coordinate. |