Table of Contents

Method MakeMono

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

MakeMono(ref RGBValue, bool)

Assigns the same value to RGB of the color: 0 if on is false, 255 otherwise.

public static void MakeMono(ref RGBValue rgb, bool on)

Parameters

rgb RGBValue

Color.

on bool

Color on/off selector.