Table of Contents

Method Round

Namespace
PaintDotNet.Rendering
Assembly
PaintDotNet.Primitives.dll

Round(SizeDouble, MidpointRounding)

public static SizeInt64 Round(SizeDouble size, MidpointRounding mode = MidpointRounding.AwayFromZero)

Parameters

size SizeDouble
mode MidpointRounding

Returns

SizeInt64

Round(SizeFloat, MidpointRounding)

public static SizeInt64 Round(SizeFloat size, MidpointRounding mode = MidpointRounding.AwayFromZero)

Parameters

size SizeFloat
mode MidpointRounding

Returns

SizeInt64