Method Round
Round(PointD, MidpointRounding?)
public static PointI Round(PointD value, MidpointRounding? rounding = null)
Parameters
value
PointDThe PointD 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.