Table of Contents

Method Round

Namespace
PaintDotNet.Rendering
Assembly
PaintDotNet.Primitives.dll

Round(RectDouble, MidpointRounding)

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

Parameters

rect RectDouble
mode MidpointRounding

Returns

RectInt32

Round(RectFloat, MidpointRounding)

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

Parameters

rect RectFloat
mode MidpointRounding

Returns

RectInt32