Constructor

@:value({ name : null })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

@:value({ characters : "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^`'\"/\\&*()[]{}<>|:;_-+=?,. " })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