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