FontGlyph Struct
Contains metrics and texture coordinates for a single glyph in a font atlas.
public struct FontGlyph
| Properties | |
|---|---|
| Advance | Horizontal distance to advance to next character (pixels). |
| AtlasX | X coordinate in the atlas texture (pixels). |
| AtlasY | Y coordinate in the atlas texture (pixels). |
| BearingX | Horizontal offset from cursor position to left of glyph (pixels). |
| BearingY | Vertical offset from baseline to top of glyph (pixels). |
| Character | Character this glyph represents. |
| Height | Height of the glyph in the atlas (pixels). |
| Width | Width of the glyph in the atlas (pixels). |