ezLCD SDK Documentation

EZLCDColor Constructor

 [This is preliminary documentation and subject to change.]

Constructs an 8-bit color object from red green and blue values.

Note   The three values represent a 24-bit color. Some data may be lost in the conversion to 8-bit.

Overload List

Constructs an 8-bit color object from red green and blue values.

Note   The three values represent a 24-bit color. Some data may be lost in the conversion to 8-bit.

[Visual Basic] Public Sub New(ByVal Byte,ByVal Byte,ByVal Byte)
[C#] public EZLCDColor(byte,byte,byte);
[C++] public: EZLCDColor(char,char,char);
[JScript] public function EZLCDColor(Byte,Byte,Byte);

Constructs an 8-bit color object from a System.Drawing.Color 24-bit color.

Note   System.Drawing.Color represents a 24-bit color. Some data may be lsot in the conversion to 8-bit.

[Visual Basic] Public Sub New(ByVal Color)
[C#] public EZLCDColor(Color);
[C++] public: EZLCDColor(Color);
[JScript] public function EZLCDColor(Color);

See Also

EZLCDColor Structure | EZLCD.Core Namespace