Pair

lumin.glyph.kerning. Pair

Spacing of letters is determined by both the character itself
and the one before it in the string, as defined by the font's
kerning parameters.

Constructor

new Pair(prev, code)

Parameters:
Name Type Description
prev number
code number

Members

character :number

Type:
  • number

(static, constant) NONE :vec2

Type:
  • vec2

previous :number

Type:
  • number

Methods

equals(rhs) → {boolean}

comparison operators

Parameters:
Name Type Description
rhs lumin.glyph.kerning.Pair
Returns:
Type
boolean

(static) IsNone(vector) → {boolean}

Parameters:
Name Type Description
vector vec2
Returns:
Type
boolean

toString(assumeAsciiopt) → {string}

Provide a convenient string representation.

Parameters:
Name Type Attributes Default Description
assumeAscii boolean <optional>
false

if true, print the characters assuming they are ASCII.

Returns:
Type
string