hxn

ShapedGlyph

Constructor

function new(glyphId:UInt, cluster:UInt, xAdvance:Float, yAdvance:Float, xOffset:Float, yOffset:Float)

Parameter: cluster UTF-8 byte offset of the source cluster, including for right-to-left text.

Static methods

function hxnRead(input:BytesInput):ShapedGlyph

Reads what the library wrote.

Properties

var glyphId:UInt
var cluster:UInt

UTF-8 byte offset of the source cluster, including for right-to-left text.

var xAdvance:Float
var yAdvance:Float
var xOffset:Float
var yOffset:Float

Methods

function hxnWrite(out:BytesBuffer):Void

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