Class: AbstractBitmapFont

AbstractBitmapFont

An abstract representation of a bitmap font.

new AbstractBitmapFont ()

Implements

  • Omit

Members

chars Record<string, CharData> readonly

The map of characters by character code.

distanceField BitmapFontData["distanceField"] readonly

The range and type of the distance field for this font.

distanceFieldRange BitmapFontData["distanceField"]["range"] Deprecated : since 8.0.0 The kind of distance field for this font or "none".

distanceFieldType BitmapFontData["distanceField"]["type"] Deprecated : since 8.0.0 The range of the distance field in pixels.

font BitmapFontData["fontFamily"] Deprecated : since 8.0.0 The name of the font face.

fontFamily BitmapFontData["fontFamily"] readonly

The name of the font face.

Default Value:
  • ""

lineHeight BitmapFontData["lineHeight"] readonly

The line-height of the font face in pixels.

Default Value:
  • 0

pages { texture : Texture }[] readonly

The map of base page textures (i.e., sheets of glyphs).

pageTextures AbstractBitmapFont<FontType>["pages"] Deprecated : since 8.0.0

size BitmapFontData["fontSize"] Deprecated : since 8.0.0 The size of the font face in pixels.