TextSelectionRectangles

constructor(rectangles: List<RectF>)

Represents lists of rectangles under which is the text selection to be performed.

Parameters

rectangles

List of rectangles for text selection. The same list is used for the markupRectangles list.


constructor(parcel: Parcel)

Creates a TextSelectionRectangles object from the provided parcel.

Parameters

parcel

Parcel to use for extracting range object.


constructor(rectangles: List<RectF>, markupRectangles: List<RectF>)

Parameters

rectangles

List of rectangles for text selection

markupRectangles

List of rectangles for text selection, including markup padding.