TypesetGlyph

constructor(face: Face, glyphIndex: Int, position: Vector2, style: TextStyle, advance: Vector2? = null, offset: Vector2 = Vector2.ZERO)(source)

Parameters

position

the position of the glyph's origin on the baseline, includes the baseline shift

style

the fully cascaded style of the glyph