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