makeFromPos

fun makeFromPos(glyphs: ShortArray, pos: Array<Point>, font: Font?): TextBlob?

Returns a TextBlob built from a single run of text with positions. Returns null if glyphs is empty.

Return

new TextBlob or null

Parameters

glyphs

glyphs drawn

pos

array of positions, must contain values for all of the glyphs.

font

Font used for this run