hxn

GlyphBitmap

Constructor

function new(kind:AtlasKind, width:UInt, height:UInt, stride:UInt, bearingX:Int, bearingY:Int, pixels:Bytes)

Static methods

function hxnRead(input:BytesInput):GlyphBitmap

Reads what the library wrote.

Properties

var kind:AtlasKind
var width:UInt
var height:UInt
var stride:UInt
var bearingX:Int
var bearingY:Int
var pixels:Bytes

Methods

function hxnWrite(out:BytesBuffer):Void

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