PreparedText
Constructor
function new(glyphs:Array<TextGlyph>, width:Float, height:Float, ascent:Float, descent:Float, generation:UInt)Parameter: generation Compare with TextEngine.generation before reusing atlas coordinates.
Static methods
function hxnRead(input:BytesInput):PreparedTextReads what the library wrote.
Properties
var glyphs:Array<TextGlyph>var width:Floatvar height:Floatvar ascent:Floatvar descent:Floatvar generation:UIntCompare with TextEngine.generation before reusing atlas coordinates.
Methods
function hxnWrite(out:BytesBuffer):VoidWrites the fields in order, as the library reads them.