TextGlyph
Constructor
function new(x:Float, y:Float, width:Float, height:Float, atlasX:UInt, atlasY:UInt, atlasWidth:UInt, atlasHeight:UInt, kind:AtlasKind)Parameter: atlasX Atlas pixel coordinates. Normalize against the texture's current dimensions when drawing. @param x Logical pixel bounds, relative to the text origin.
Static methods
function hxnRead(input:BytesInput):TextGlyphReads what the library wrote.
Properties
var x:FloatLogical pixel bounds, relative to the text origin.
var y:Floatvar width:Floatvar height:Floatvar atlasX:UIntAtlas pixel coordinates. Normalize against the texture's current dimensions when drawing.
var atlasY:UIntvar atlasWidth:UIntvar atlasHeight:UIntvar kind:AtlasKindMethods
function hxnWrite(out:BytesBuffer):VoidWrites the fields in order, as the library reads them.