get_cursor_rect


Description:

[ Version ( since = "1.16" ) ]
public Rect get_cursor_rect ()

Retrieves the rectangle that contains the cursor.

The coordinates of the rectangle's origin are in actor-relative coordinates.

Parameters:

this

a Text

rect

return location of a Rect