Sfairadora

  • Reference Guide

Spacing Mode

These constants serve to set values of the Character Formatrpf_spacing_size) is determined by the spacing mode.
The constants are of the type Int.
Name
Description
SPACING_MODE_AUTO (0)
The line height is determined by the height of the highest character.
SPACING_MODE_AT_LEAST (1)
The line height is determined by the spacing size set. However, if the height of the highest character exceeds the size set, the higher size is used.
SPACING_MODE_EXACT (2)
The line height is determined by the spacing size set. If there is a higher character on the line, it will be clipped at the top to the line height (i.e. not the whole character is drawn).
SPACING_MODE_MULTIPLE (3)
The line height is determined as a multiple of the highest character height. To get the multiple, it is necessary to divide the spacing size value by the factor of 240.

See Also