Package ilcd
Class Attribute

Public Method setForegroundColor

static void setForegroundColor(int colorValue)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Parameter Range Description
colorValue 0x000000 ... 0xFFFFFF color value for the foreground color

Sets the current foreground color all characters and lines are drawn with.

Note

Example

Attribute.setForegroundColor(0xFF0000);

This example sets the foreground color to red.

See also:

24-Bit Color Values
Attribute.setBackgroundColor(int)
Attribute.setInverseMode(boolean)