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
- The default value for colorValue is 0x000000 (black). It will be automatically set to default on startup and by the methods General.resetAll() or General.rebootPanelController().
- Monochrome graphics drawn on a color iLCD panelJoC board have the originally black pixels shown in the current foreground value and the originally white pixels shown in the current background color allowing to "dye" monochrome graphics.
Attribute.setForegroundColor(0xFF0000);
This example sets the foreground color to red.
See also:
Copyright © demmel products gmbh. All rights reserved.