[]
Draws the line.
void DrawLine(Pen pen, float x1, float y1, float x2, float y2)
Sub DrawLine(pen As Pen, x1 As Single, y1 As Single, x2 As Single, y2 As Single)
Type | Name | Description |
---|---|---|
Pen | pen | Pen |
float | x1 | X-coordinate of first point |
float | y1 | Y-coordinate of first point |
float | x2 | X-coordinate of second point |
float | y2 | Y-coordinate of second point |