Table of Contents

Method Round

Namespace
PaintDotNet.Rendering
Assembly
PaintDotNet.Primitives.dll

Round(Vector2Double, MidpointRounding)

public static Vector2Int32 Round(Vector2Double vec, MidpointRounding mode = MidpointRounding.AwayFromZero)

Parameters

vec Vector2Double
mode MidpointRounding

Returns

Vector2Int32

Round(Vector2Float, MidpointRounding)

public static Vector2Int32 Round(Vector2Float vec, MidpointRounding mode = MidpointRounding.AwayFromZero)

Parameters

vec Vector2Float
mode MidpointRounding

Returns

Vector2Int32