Package ilcd
Class Graphic

Public Method displayLocalGraphic

static void displayLocalGraphic(int graphicIndex)

Throws:

static void displayLocalGraphic(String graphicNameOrFilename)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

by index:

Parameter Range Description
graphicIndex 0 ... max. graphic index index of the graphic

by name or filename:

Parameter Range Description
graphicNameOrFilename ASCII chars (0x01 .. 0xFF) or
DOS filename (8.3 format)
name of the graphic or
name and path of the graphics file

Draws a graphic according to the graphic's graphicIndex or graphicNameOrFilename at the current cursor position.

Note

Example

Graphic.displayLocalGraphic(5);

Graphic.displayLocalGraphic("GRAPHIC");

Graphic.displayLocalGraphic("DIR/FILE.RII");

Displays the graphic with index 1 and graphic "GRAPHIC" from the on-board flash as well as graphic "FILE.RII" from the SD card's "DIR" folder at the current cursor position.

See also:

Get Graphic Info
Control.setGraphicAlignment(int, int, int)
Graphic.displayGraphicArea(int, int, int, int, int)
Extra.setGraphicOffset(int)
Extra.setGraphicNamePrefix(String)
Extra.setGraphicNameSuffix(String)
Attribute.setAlpha(int)
Attribute.setAdjustmentForGraphics(int)
Graphic.loadAnimatedGraphics(int, int)