Table of Contents

Method Round

Namespace
PaintDotNet.Rendering
Assembly
PaintDotNet.Primitives.dll

Round(RectDouble, MidpointRounding)

public static RectInt64 Round(RectDouble rect, MidpointRounding mode = MidpointRounding.AwayFromZero)

Parameters

rect RectDouble
mode MidpointRounding

Returns

RectInt64

Round(RectFloat, MidpointRounding)

public static RectInt64 Round(RectFloat rect, MidpointRounding mode = MidpointRounding.AwayFromZero)

Parameters

rect RectFloat
mode MidpointRounding

Returns

RectInt64