BidiRun

data class BidiRun(val start: Int, val end: Int, val level: Int, val script: Script)(source)

A run of text with a single embedding level and a single script.

Runs are the units of text that can be passed to TextShapingDriver.shape, using direction and script.

Constructors

Link copied to clipboard
constructor(start: Int, end: Int, level: Int, script: Script)

Properties

Link copied to clipboard
Link copied to clipboard
val end: Int

the index after the last UTF-16 unit of the run

Link copied to clipboard
val length: Int
Link copied to clipboard
val level: Int

the embedding level of the run

Link copied to clipboard

the resolved script of the run

Link copied to clipboard
val start: Int

the index of the first UTF-16 unit of the run