RunHandler

Functions

Link copied to clipboard
abstract fun beginLine()

Called when beginning a line.

Link copied to clipboard
abstract fun commitLine()

Called when ending a line.

Link copied to clipboard
abstract fun commitRun(info: RunInfo?, glyphs: ShortArray?, positions: Array<Point?>?, clusters: IntArray?)

Called for each run in a line after .runOffset.

Link copied to clipboard
abstract fun commitRunInfo()

Called after all .runInfo calls for a line.

Link copied to clipboard
abstract fun runInfo(info: RunInfo?)

Called once for each run in a line. Can compute baselines and offsets.

Link copied to clipboard
abstract fun runOffset(info: RunInfo?): Point?

Called for each run in a line after .commitRunInfo.