Table of Contents

Method MinMaxRgb

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

MinMaxRgb(out byte, out byte, byte, byte, byte)

Calculates minimal and maximal values from r, g, b parameters.

public static void MinMaxRgb(out byte min, out byte max, byte r, byte g, byte b)

Parameters

min byte

Contains minimal value after method is called.

max byte

Contains maximal value after method is called.

r byte

Red component of the color.

g byte

Green component of the color.

b byte

Blue component of the color.

MinMaxRgb(out byte, out byte)

Calculates minimal and maximal values from all RGB color components.

public void MinMaxRgb(out byte min, out byte max)

Parameters

min byte

Contains minimal value after method is called.

max byte

Contains maximal value after method is called