Table of Contents

Method Round

Namespace
PaintDotNet.Rendering
Assembly
PaintDotNet.Primitives.dll

Round(Point2Double, MidpointRounding)

public static Point2Int32 Round(Point2Double pt, MidpointRounding mode = MidpointRounding.AwayFromZero)

Parameters

pt Point2Double
mode MidpointRounding

Returns

Point2Int32

Round(Point2Float, MidpointRounding)

public static Point2Int32 Round(Point2Float pt, MidpointRounding mode = MidpointRounding.AwayFromZero)

Parameters

pt Point2Float
mode MidpointRounding

Returns

Point2Int32