Package ilcd
Class Draw

Public Method setClearPixelAtXY

static void setClearPixelAtXY(int posX, int posY, boolean onOff)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Parameter Range Description
posX 0 ... display width - 1 horizontal position
posY 0 ... display height - 1 vertical position
onOff false ... true determines whether a pixel is set (true) or cleared (false)

Sets or clears a pixel at the specified position.

Note

Example

Draw.setClearPixelAtXY(120, 55, true);

Sets or clears a pixel at the position x = 120 and y = 55 pixels.

See also:

Attribute.setBackgroundColor(int)
Attribute.setForegroundColor(int)
Attribute.setInverseMode(boolean)
Attribute.setAlpha(int)