KiteCaret
class KiteCaret(val position: Double, val inside: Double, val from: Double, val to: Double, val vertical: Boolean)(source)
A caret at a char boundary, in display space. position is where it sits along its line: x on a horizontal line, y in a vertical one. It spans the line from from to to across it. inside is the other edge of the char the caret belongs to, so it gives the direction into that char.