void xtd::drawing::graphics::draw_rectangle | ( | const xtd::drawing::pen & | pen, |
float | x, | ||
float | y, | ||
float | width, | ||
float | height | ||
) |
Draws a rectangle specified by a coordinate pair, a width, and a height.
pen | A xtd::drawing::pen that determines the color, width, and style of the rectangle. |
x | The x-coordinate of the upper-left corner of the rectangle to draw. |
y | The y-coordinate of the upper-left corner of the rectangle to draw. |
width | The width of the rectangle to draw. |
height | The height of the rectangle to draw. |