Table of Contents

Method Round

Namespace
PaintDotNet.Rendering
Assembly
PaintDotNet.Primitives.dll

Round(in Vector4Double, MidpointRounding)

public static Vector4Int64 Round(in Vector4Double vec, MidpointRounding mode = MidpointRounding.AwayFromZero)

Parameters

vec Vector4Double
mode MidpointRounding

Returns

Vector4Int64

Round(Vector4Float, MidpointRounding)

public static Vector4Int64 Round(Vector4Float vec, MidpointRounding mode = MidpointRounding.AwayFromZero)

Parameters

vec Vector4Float
mode MidpointRounding

Returns

Vector4Int64