static void adjustDisplay(int mode)
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Parameter | Range | Description |
---|---|---|
mode | Bit 0 ... 4 | adjustable mode (see below) |
Adjusts the color values of all pixels on the screen. The value for any selected modification has to be set in advance and the corresponding mode must be set:
mode |
---|
ADJUST_BRIGHTNESS (see Attribute.setBrightnessAdjustment(int)) |
ADJUST_CONTRAST (see Attribute.setContrastAdjustment(int)) |
ADJUST_HUE (see Attribute.setHueAdjustment(int)) |
ADJUST_SATURATION (see Attribute.setSaturationAdjustment(int)) |
ADJUST_INVERT |
Note
Example
Draw.adjustDisplay(Draw.ADJUST_BRIGHTNESS |
Draw.ADJUST_CONTRAST);
Adjusts brightness and contrast of the entire screen, using the previously set values.
See also:
Draw.adjustDisplayArea(int, int, int)
Attribute.setBrightnessAdjustment(int)
Attribute.setContrastAdjustment(int)
Attribute.setHueAdjustment(int)
Attribute.setSaturationAdjustment(int)
Attribute.setAdjustmentForGraphics(int)
Copyright © demmel products gmbh. All rights reserved.