Class: BitmapFontData

me. BitmapFontData

me.BitmapFontData

new BitmapFontData(data)

Class for storing relevant data from the font file.
Parameters:
Name Type Description
data String The bitmap font data pulled from the resource loader using me.loader.getBinary()
Source:
bitmapfontdata.js, line 15

Members

<static> glyphs :Object

The map of glyphs, each key is a char code.
Type:
  • Object
Source:
bitmapfontdata.js, line 32

Methods

<static> parse(fontData)

This parses the font data text and builds a map of glyphs containing the data for each character
Parameters:
Name Type Description
fontData String
Source:
bitmapfontdata.js, line 103