LineLayout
Parameters
lineNumber
1-based line number.
lineFrom
Document offset of the first character of this line.
topPx
Y coordinate of the top of this line in the editor.
result
Compose text-layout result for measuring cursor positions.