Phaser API Documentation

  Version: 
BitmapFontData

Description:

Bitmap Font data that can be used by a BitmapText Game Object.

Properties:
name type description
font string

The name of the font.

size number

The size of the font.

lineHeight number

The line height of the font.

retroFont boolean

Whether this font is a retro font (monospace).

chars Object.<number, Phaser.Types.GameObjects.BitmapText.BitmapFontCharacterData>

The character data of the font, keyed by character code. Each character datum includes a position, size, offset and more.

Type:
object