How much to move the text drawing cursor to the right after drawing this glyph. Measured from the left edge of the glyph.
A function used to distinguish text from its background on a sprite sheet.
Optional
kerning?: BpxKerningPrevSegmentMapThe map of how much to adjust the vertical placement of this glyph if the previous text segment (char) was one of the keys in this map.
Optional
offset?: BpxVector2dThe relative position of the glyph to be drawn in relation to the current cursor position.
A sprite to be drawn for this glyph.
A property used in checking which type of a glyph it is, so TypeScript can infer its properties correctly.
How much to move the text drawing cursor to the right after drawing this glyph. Measured from the left edge of the glyph.
Optional
kerning?: BpxKerningPrevSegmentMapThe map of how much to adjust the vertical placement of this glyph if the previous text segment (char) was one of the keys in this map.
Optional
offset?: BpxVector2dThe relative position of the glyph to be drawn in relation to the current cursor position.
A sprite to be drawn for this glyph, represented by 1-bit representation in the game code.
A property used in checking which type of a glyph it is, so TypeScript can infer its properties correctly.
How much to move the text drawing cursor to the right after processing this glyph. Measured from the left edge of the glyph.
Optional
kerning?: BpxKerningPrevSegmentMapThe map of how much to adjust the vertical placement of this glyph if the previous text segment (char) was one of the keys in this map.
A property used in checking which type of a glyph it is, so TypeScript can infer its properties correctly.
A definition of a glyph used by a font. Used as values in BpxFontConfig.glyphs.