Constructor

new (?name:String)

Variables

read onlyascender:Int

read onlydescender:Int

read onlyheight:Int

read onlyname:String

read onlynumGlyphs:Int

read onlyunitsPerEM:Int

Methods

getGlyph (character:String):Glyph

getGlyphs (characters:String = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^`'\"/\\&*()[]{}<>|):Array<Glyph>

renderGlyph (glyph:Glyph, fontSize:Int):Image

renderGlyphs (glyphs:Array<Glyph>, fontSize:Int):Map<Glyph, Image>

Static methods

staticfromBytes (bytes:Bytes):Font

staticfromFile (path:String):Font