Package ilcd
Class Attribute

Public Method setFontSpacing

static void setFontSpacing(int xSpacing, int ySpacing)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Parameter Range Description
xSpacing 0 ... 15 horizontal spacing (number of blank pixels between consecutive characters)
ySpacing 0 ... 15 vertical spacing (number of blank pixels between consecutive lines)

This method allows to overwrite the default font spacing defined via iLCD Manager XEJoC Manager for the currently selected font.

Note

Example

Attribute.setFontSpacing(15, 10);

This will overwrite the default font spacing to 15 pixels horizontally and to 10 pixels vertically.

See also:

Attribute.setFont(int)
Attribute.setSymbolFontEnabled(boolean)
Draw.writeText(String)
Control.setFontsScaling(int)
Control.setRowCoordinatesScaling(int, int)
Control.setColumnCoordinatesScaling(int, int)