Method Round
- Namespace
- PaintDotNet.Rendering
- Assembly
- PaintDotNet.Primitives.dll
Round(Point2Double, MidpointRounding)
public static Point2Int64 Round(Point2Double pt, MidpointRounding mode = MidpointRounding.AwayFromZero)
Parameters
ptPoint2DoublemodeMidpointRounding
Returns
Round(Point2Float, MidpointRounding)
public static Point2Int64 Round(Point2Float pt, MidpointRounding mode = MidpointRounding.AwayFromZero)
Parameters
ptPoint2FloatmodeMidpointRounding