Table of Contents

Constructor Color

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

Color()

Initializes a new instance of the Color class.

public Color()

Color(byte, byte, byte)

Initializes a new instance of the Color class with the specified parameters.

public Color(byte red, byte green, byte blue)

Parameters

red byte

Red component of the color.

green byte

Green component of the color.

blue byte

Blue component of the color.

Color(byte, byte, byte, byte)

Initializes a new instance of the Color class with the specified parameters.

public Color(byte alpha, byte red, byte green, byte blue)

Parameters

alpha byte

Alpha component of the color.

red byte

Red component of the color.

green byte

Green component of the color.

blue byte

Blue component of the color.

Color(ColorStruct)

Initializes a new instance of the Color class from the ColorStruct.

public Color(ColorStruct value)

Parameters

value ColorStruct

Color specified using ColorStruct value.

Color(KnownColor)

Initializes a new instance of the Color class from the KnownColor.

public Color(KnownColor knownColor)

Parameters

knownColor KnownColor

Color specified using KnownColor value.

Color(KnownSystemColor)

Initializes a new instance of the Color class from the KnownSystemColor.

public Color(KnownSystemColor knownColor)

Parameters

knownColor KnownSystemColor

Color specified using KnownSystemColor value.