Package ilcd
Class Graphic

Public Method setAnimationBackgroundGraphic

static void setAnimationBackgroundGraphic(int animLoc, int startX, int startY, int graphicIndex)

Throws:

static void setAnimationBackgroundGraphic(int animLoc, int startX, int startY, String graphicNameOrFilename)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

by index:

Parameter Range Description
animLoc 0 ... 7 index of the animation control
startX 0 ... graphic width - 1 horizontal offset in background graphic
startY 0 ... graphic height - 1 vertical offset in background graphic
graphicIndex 0 ... max. graphic index index of the background graphic

by name or filename:

Parameter Range Description
animLoc 0 ... 7 index of the animation control
startX 0 ... graphic width - 1 horizontal offset in background graphic
startY 0 ... graphic height - 1 vertical offset in background graphic
graphicNameOrFilename ASCII chars (0x01 .. 0xFF) or
DOS filename (8.3 format)
name of the graphic or
name and path of the graphics file

Assigns the background graphic specified by graphicIndex or graphicNameOrFilename to the animation engine animLoc.

Note

Example

Graphic.setAnimationBackgroundGraphic(1, 0, 0, 7);

Graphic.setAnimationBackgroundGraphic(2, 10, 20, "GRAPHIC");

Graphic.setAnimationBackgroundGraphic(3, 0, 0, "DIR/FILE.RII");

These commands will assign:

See also:

Graphic.removeAnimationBackground(int)
Graphic.setAnimationBackgroundColor(int, int)
Graphic.setAnimationBackgroundFrame(int, int)
Graphic.setAnimationBackgroundScreen(int, int, int, int)
Graphic.eraseAnimationImageArea(int)
Graphic.eraseAnimationFrameArea(int)