API reference
Preparing search index…

ImGui.ImFontGlyphFields

Live glyph metrics, UVs and native bitfield accessors.

interface ImFontGlyphFields {
    AdvanceX: number;
    Codepoint: number;
    Colored: number;
    U0: number;
    U1: number;
    V0: number;
    V1: number;
    Visible: number;
    X0: number;
    X1: number;
    Y0: number;
    Y1: number;
}
Source & inheritance
Member directory12

Properties

Properties

AdvanceX: number

Horizontal cursor advance in unscaled font pixels.

Source & inheritance
Codepoint: number

Glyph code point; accepts integers from 0 to 0x3fffffff (30 bits). Changing it does not rebuild the font's glyph lookup table.

Source & inheritance
Colored: number

Tint-bypass flag; reads and writes numeric 0 or 1 through native accessors.

Source & inheritance
U0: number

Normalized atlas U coordinate of the left glyph edge.

Source & inheritance
U1: number

Normalized atlas U coordinate of the right glyph edge.

Source & inheritance
V0: number

Normalized atlas V coordinate of the top glyph edge.

Source & inheritance
V1: number

Normalized atlas V coordinate of the bottom glyph edge.

Source & inheritance
Visible: number

Visible-pixels flag; reads and writes numeric 0 or 1 via native accessors.

Source & inheritance
X0: number

Glyph quad left edge relative to the text origin, in font pixels.

Source & inheritance
X1: number

Glyph quad right edge relative to the text origin, in font pixels.

Source & inheritance
Y0: number

Glyph quad top edge relative to the text origin, in font pixels.

Source & inheritance
Y1: number

Glyph quad bottom edge relative to the text origin, in font pixels.

Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0