Package ilcd
Class Draw

Public Method invertDisplayArea

static void invertDisplayArea(int width, int height)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Parameter Range Description
width 0 ... display width (0 = full width) horizontal value for the area to be inverted
height 0 ... display height (0 = full height) vertical value for the area to be inverted

Inverts an area of the currently active screen specified by the parameters width and height beginning from the current cursor position.

Note

Example

Draw.invertDisplayArea(100, 240);

Inverts all colors in an area of 100x240 pixels.

See also:

Draw.invertDisplay()
Control.setCursorPosition(int, int)
Attribute.setInverseMode(boolean)