Package ilcd
Class Attribute

Public Method setFont

static void setFont(int fontIndex)

Throws:

static void setFont(String fontName)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

by index:

Parameter Range Description
fontIndex 0 ... max. available font index of the font

by name:

Parameter Range Description
fontName ASCII chars (0x01 .. 0xFF) name of the font

Sets a font for the subsequent text outputs.

Note

Example

Attribute.setFont(3);

Attribute.setFont("Times New Roman 18pt");

All subsequently outputted texts are drawn with the font with index 3.

See also:

Attribute.setUnderlinePosition(int)
Attribute.setFontSpacing(int, int)
Attribute.setSymbolFontEnabled(boolean)
Extra.setFontOffset(int)
Extra.setFontNameSuffix(String)
Extra.setFontNamePrefix(String)
Draw.writeText(String)
Private ANSI Extensions