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