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

◆ round()

static rectangle xtd::drawing::rectangle::round ( const rectangle_f rect)
staticnoexcept

Converts the specified xtd::drawing::rectangle_f to a xtd::drawing::rectangle by rounding the xtd::drawing::rectangle_f values to the nearest integer values.

Parameters
rectThe xtd::drawing::rectangle_f to be converted.
Returns
The rounded integer value of the xtd::drawing::rectangle.