Method Round
- Namespace
- PaintDotNet.Rendering
- Assembly
- PaintDotNet.Primitives.dll
Round(SizeDouble, MidpointRounding)
public static SizeInt64 Round(SizeDouble size, MidpointRounding mode = MidpointRounding.AwayFromZero)
Parameters
size
SizeDoublemode
MidpointRounding
Returns
Round(SizeFloat, MidpointRounding)
public static SizeInt64 Round(SizeFloat size, MidpointRounding mode = MidpointRounding.AwayFromZero)
Parameters
size
SizeFloatmode
MidpointRounding