Glyph constructor

Glyph(glyph_index, advance, advance_offset, ascender_offset)

Initializes new instance of this class.

def __init__(self, glyph_index: int, advance: int, advance_offset: int, ascender_offset: int):
    ...
ParameterTypeDescription
glyph_indexintGlyph index.
advanceintAdvance metric of the glyph.
advance_offsetintHorizontal (x) offset.
ascender_offsetintVertical (y) offset.

See Also