A Glyph is the visual representation of a text element or character.
atlasIndex | The index of the atlas texture that contains this glyph. |
glyphRect | A rectangle that defines the position of a glyph within an atlas texture. |
index | The index of the glyph in the source font file. |
metrics | The metrics that define the size, position and spacing of a glyph when performing text layout. |
scale | The relative scale of the glyph. The default value is 1.0. |
Glyph | Constructor for a new glyph. |
Compare | Compares two glyphs to determine if they have the same values. |