hxn

FontMetrics

Constructor

function new(unitsPerEm:UInt, ascent:Float, descent:Float, lineGap:Float, capHeight:Float, xHeight:Float)

Static methods

function hxnRead(input:BytesInput):FontMetrics

Reads what the library wrote.

Properties

var unitsPerEm:UInt
var ascent:Float
var descent:Float
var lineGap:Float
var capHeight:Float
var xHeight:Float

Methods

function hxnWrite(out:BytesBuffer):Void

Writes the fields in order, as the library reads them.