Package ilcd
Class Draw

Public Method eraseDisplayArea

static void eraseDisplayArea(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 erased
height 0 ... display height (0 = full height) vertical value for the area to be erased

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

Note

Example

Draw.eraseDisplayArea(400, 480);

Clears the left half of a display with 800x480 pixels, provided the cursor position was 0/0.

See also:

Draw.eraseDisplay()
Control.getCursorPosition()
Control.setCursorPosition(int, int)
Attribute.setInverseMode(boolean)
Attribute.setBackgroundColor(int)