Documentation
    Preparing search index...

    Interface GlyphAtlasEntry

    Where one glyph lives in an atlas, and what it costs to draw.

    interface GlyphAtlasEntry {
        advance: number;
        blank: boolean;
        char: string;
        height: number;
        u0: number;
        u1: number;
        v0: number;
        v1: number;
        width: number;
        x: number;
        y: number;
    }
    Index
    advance: number

    Pen movement after this glyph, in font pixels (see BitmapGlyph.advance).

    blank: boolean

    Whether the cell is entirely clear — layout skips the quad (space).

    char: string

    The character drawn, or "" for GlyphAtlas.fallback.

    height: number

    Cell height in texels — BitmapFont.cellHeight.

    u0: number

    Left edge of the cell in normalized texture coordinates, 0…1.

    u1: number

    Right edge of the cell.

    v0: number

    Bottom edge of the cell in normalized texture coordinates (§7a).

    v1: number

    Top edge of the cell.

    width: number

    Cell width in texels — BitmapFont.cellWidth.

    x: number

    Left edge of the cell in texels. Diagnostics and tests; uv is the API.

    y: number

    Bottom edge of the cell in texels.