Package ilcd
Class Extra

Public Method setFontOffset

static void setFontOffset(int offset)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Parameter Range Description
offset 0 ... max. font index - 1 offset of the font index

Sets an offset for the font index (see Attribute.setFont(int)).

Note


Example

Extra.setFontOffset(3);

Attribute.setFont(1);

Draw.writeText("Hello World!");

Sets the font offset to 3. The subsequently called method to select the font with index 1 will now set the font with index 4 instead.

See also:

Attribute.setFont(int)
Draw.writeTextMessage(int)
Touch.setTouchFieldTextMessage(int)
General.resetAll()
Extra.setMessageOffset(int)
Extra.setGraphicOffset(int)