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