LayoutLine
Contains position information about one line of text in a title or annotation. This can be used to extract the actual text from a string or rendering attributes from a TextEditor instance.
Fields
Field | Type | Description |
---|---|---|
start | integer | Read only. The index of the first character in this line. |
count | integer | Read only. The number of characters in this line. |
position | tuple | Read only. The baseline position of the first character in the line as a tuple (x, y). |
bounds | tuple | Read only. The frame of the characters in this line as a tuple (x, y, width, height). |