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