textmode.js / fonts / TextmodeGlyphAtlas
Interface: TextmodeGlyphAtlas
Backend-neutral glyph atlas contract used by the shared rendering pipeline.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
cellDimensions | readonly | GlyphDimensions | Combined glyph cell dimensions in pixels. |
cellHeight | readonly | number | Height of each glyph cell in pixels. |
cellWidth | readonly | number | Width of each glyph cell in pixels. |
characterMap | readonly | Map<string, TextmodeGlyph> | Lookup table from character string to glyph entry. |
characters | readonly | readonly TextmodeGlyph[] | Ordered glyph entries available in this atlas. |
columns | readonly | number | Number of glyph columns in the atlas texture. |
framebuffer | readonly | TextmodeFramebuffer | Framebuffer containing the atlas texture data. |
rows | readonly | number | Number of glyph rows in the atlas texture. |