Static methods

staticfromBytes(bytes:Bytes):Font

staticfromFile(path:String):Font

staticloadFromBytes(bytes:Bytes):Future<Font>

staticloadFromFile(path:String):Future<Font>

staticloadFromName(path:String):Future<Font>

Constructor

@:value({ name : null })new(?name:String)

Variables

Methods

getGlyph(character:String):Glyph

@:value({ characters : "[email protected]#$%^`'\"/\\&*()[]{}<>|:;_-+=?,. " })getGlyphs(characters:String = "[email protected]#$%^`'\"/\\&*()[]{}<>|):Array<Glyph>

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

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