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