Method Round
- Namespace
- PaintDotNet.Rendering
- Assembly
- PaintDotNet.Primitives.dll
Round(RectDouble, MidpointRounding)
public static RectInt64 Round(RectDouble rect, MidpointRounding mode = MidpointRounding.AwayFromZero)
Parameters
rect
RectDoublemode
MidpointRounding
Returns
Round(RectFloat, MidpointRounding)
public static RectInt64 Round(RectFloat rect, MidpointRounding mode = MidpointRounding.AwayFromZero)
Parameters
rect
RectFloatmode
MidpointRounding