void xtd::drawing::graphics::draw_line | ( | const xtd::drawing::pen & | pen, |
int32 | x1, | ||
int32 | y1, | ||
int32 | x2, | ||
int32 | y2 | ||
) |
Draws a line connecting the two points specified by the coordinate pairs.
pen | xtd::drawing::pen that determines the color, width, and style of the line. |
x1 | The x-coordinate of the first point. |
y1 | The y-coordinate of the first point. |
x2 | The x-coordinate of the second point. |
y2 | The y-coordinate of the second point. |