xtd 0.2.0

◆ add_rectangle() [4/4]

void xtd::drawing::drawing_2d::graphics_path::add_rectangle ( float  x,
float  y,
float  width,
float  height 
)

Adds a rectangle to this path.

Parameters
xThe x-coordinate of the upper-left corner of the rectangle.
yThe y-coordinate of the upper left corner of the rectangle.
widthThe width of the rectangle.
heightThe height of the rectangle.