Package com.pspdfkit.datastructures
Class TextSelectionRectangles
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class TextSelectionRectangles implements Parcelable
Represents lists of rectangles under which is the text selection to be performed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
TextSelectionRectangles.CREATOR
Creator for creating the TextSelectionRectangles object from Parcel.
-
Field Summary
Fields Modifier and Type Field Description private final List<RectF>
rectangles
private final List<RectF>
markupRectangles
public final static TextSelectionRectangles.CREATOR
CREATOR
-
Constructor Summary
Constructors Constructor Description TextSelectionRectangles(List<RectF> rectangles)
Represents lists of rectangles under which is the text selection to be performed. TextSelectionRectangles(Parcel parcel)
Creates a TextSelectionRectangles object from the provided parcel. TextSelectionRectangles(List<RectF> rectangles, List<RectF> markupRectangles)
-
Method Summary
Modifier and Type Method Description final List<RectF>
getRectangles()
final List<RectF>
getMarkupRectangles()
Unit
writeToParcel(Parcel parcel, Integer flags)
Integer
describeContents()
-
-
Constructor Detail
-
TextSelectionRectangles
TextSelectionRectangles(List<RectF> rectangles)
Represents lists of rectangles under which is the text selection to be performed.- Parameters:
rectangles
- List of rectangles for text selection.
-
TextSelectionRectangles
TextSelectionRectangles(Parcel parcel)
Creates a TextSelectionRectangles object from the provided parcel.- Parameters:
parcel
- Parcel to use for extracting range object.
-
-
Method Detail
-
getRectangles
final List<RectF> getRectangles()
-
getMarkupRectangles
final List<RectF> getMarkupRectangles()
-
writeToParcel
Unit writeToParcel(Parcel parcel, Integer flags)
-
describeContents
Integer describeContents()
-
-
-
-