Fork me on GitHub
View source

package haxepunk.graphics.text

class BitmapFont


implements IBitmapFont

Constructor

View source

new (fontName : String) : Void

Variables

fontName : String

Functions

View source

addSize (atlas : BitmapFontAtlas) : Void

Add a BitmapFontAtlas for a new size to this font.

View source

getChar (string : String, size : Float) : GlyphData

Get information about a glyph from this font.

View source

getLineHeight (size : Float) : Float