class lime.text.Font

Class Fields

static function fromBytes(bytes:Bytes): Font

static function fromFile(path:String): Font

Instance Fields

function new(?name:String): Void

function getGlyph(character:String): Glyph

function getGlyphs(?characters:String): Array<Glyph>

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

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