Table of Contents

Method Round

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Primitives.dll

Round(ColorRgb96Float, MidpointRounding)

public static ColorRgb48 Round(ColorRgb96Float color, MidpointRounding mode = MidpointRounding.AwayFromZero)

Parameters

color ColorRgb96Float
mode MidpointRounding

Returns

ColorRgb48