Method Round
Round(RectD, MidpointRounding?)
public static RectI Round(RectD value, MidpointRounding? rounding = null)
Parameters
value
RectDThe RectD to be converted.
rounding
MidpointRounding?The MidpointRounding to use when Round(double, MidpointRounding) is called.
Returns
Remarks
Rounds a floating-point value to the nearest integer.