readFont function

BitmapFont readFont (
  1. String font,
  2. Image map
)

Decode a BitmapFont from the contents of font definition (.fnt) file, and an Image that stores the font map.

Implementation

BitmapFont readFont(String font, Image map) => BitmapFont.fromFnt(font, map);