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