getLocalRectForCaret abstract method

Rect getLocalRectForCaret(
  1. TextPosition position
)

Returns Rect for caret in local coordinates

Useful to enforce visibility of full caret at given position

Implementation

Rect getLocalRectForCaret(TextPosition position);