...master 2026-11-12 (1037e2069+unstaged)

TextWalker

class TextWalker()

An object implementing this interface of optional callback functions can be used to get calls whenever Text.prototype.walk() iterates over a text object.

beginSpan(font, trm, wmode, bidiLevel, markupDirection, language)

Called before every text span in the Text being walked.

endSpan()

Called at the end of every span in the text.

showGlyph(font, trm, gid, ucs, wmode, bidiLevel)

Called once per character for in a text span.