Package ilcd
Class Attribute

Public Method setFillingTile

static void setFillingTile(int graphicIndex)

Throws:

static void setFillingTile(String graphicNameOrFilename)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

by index:

Parameter Range Description
graphicIndex 0 ... max. graphic index index of tile 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

Sets the active fill pattern to tiling using the graphic specified by graphicIndex or graphicNameOrFilename as tiles. All subsequent filling will be done with this tile graphic.

Note

Example

Attribute.setFillingTile(1);

Attribute.setFillingTile("GRAPHIC");

Attribute.setFillingTile("DIR/FILE.RII");

Sets the graphic with index 1, graphic "GRAPHIC" from the on-board flash and graphic "FILE.RII" from the SD card's "DIR" folder as the fill pattern. Only the last successfully set tile graphic is used for future filling.

See also:

Draw.fillDisplay()
Draw.fillDisplayArea(int, int)
Attribute.setFillingColor(int)
Attribute.setFillingGradient(int, int, int, int)
Attribute.setAdjustmentForGraphics(int)
Draw.drawRectangle(int, int, int)
Draw.drawStyledCircle(int, int)