xtd 0.2.0
Loading...
Searching...
No Matches

◆ rectangle() [2/3]

xtd::drawing::rectangle::rectangle ( int32  x,
int32  y,
int32  width,
int32  height 
)
noexcept

Initializes a new instance of the xtd::drawing::rectangle class with the specified location and size.

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.