Method Round
- Namespace
- PaintDotNet.Rendering
- Assembly
- PaintDotNet.Primitives.dll
Round(Vector2Double, MidpointRounding)
public static Vector2Int32 Round(Vector2Double vec, MidpointRounding mode = MidpointRounding.AwayFromZero)
Parameters
vec
Vector2Doublemode
MidpointRounding
Returns
Round(Vector2Float, MidpointRounding)
public static Vector2Int32 Round(Vector2Float vec, MidpointRounding mode = MidpointRounding.AwayFromZero)
Parameters
vec
Vector2Floatmode
MidpointRounding