Companion

object Companion

Functions

Link copied to clipboard
fun makeFromData(data: Data?): TextBlob?
Link copied to clipboard
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.

Link copied to clipboard
fun makeFromPosH(glyphs: ShortArray, xpos: FloatArray, ypos: Float, font: Font?): TextBlob?

Returns a TextBlob built from a single run of text with x-positions and a single y value. Returns null if glyphs is empty.

Link copied to clipboard
fun makeFromRSXform(glyphs: ShortArray, xform: Array<RSXform>, font: Font?): TextBlob?