AdvanceDirection

lumin.glyph. AdvanceDirection

new AdvanceDirection(value)

Direction from the current glyph to the next one on the
baseline, which can be horizontal or vertical, in the
natural script of the language.

Note this has nothing to do with where on the page the
writing starts for multiple words on the page (sentences).
This is the direction to the next glyph in a word along
the baseline of the font.

Parameters:
Name Type Description
value number

Members

(static, constant) kDown :lumin.glyph.AdvanceDirection

The next character is below, as in Mongolian and Japanese.

Type:

(static, constant) kLeft :lumin.glyph.AdvanceDirection

The next character is left, as in Hebrew and Arabic.

Type:

(static, constant) kRight :lumin.glyph.AdvanceDirection

The next character is right, as in English and Greek.

Type:

(static, constant) kUp :lumin.glyph.AdvanceDirection

Type:

value :number

Type:
  • number