InlineTextBox

data class InlineTextBox(boundingBox: Rect, startCharacterIndex: Int, numCharacters: Int)

Details of post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions.

Constructors

InlineTextBox
Link copied to clipboard
fun InlineTextBox(boundingBox: Rect, startCharacterIndex: Int, numCharacters: Int)

Properties

boundingBox
Link copied to clipboard
val boundingBox: Rect
The bounding box in document coordinates.
numCharacters
Link copied to clipboard
val numCharacters: Int
The number of characters in this post layout textbox substring.
startCharacterIndex
Link copied to clipboard
val startCharacterIndex: Int
The starting index in characters, for this post layout textbox substring.

Sources

jvm source
Link copied to clipboard