public class CPDFTextSelection
extends java.lang.Object
CPDFTextRange| Constructor and Description |
|---|
CPDFTextSelection(float left,
float top,
float right,
float bottom,
int location,
int length) |
CPDFTextSelection(android.graphics.RectF rectF,
CPDFTextRange textRange) |
| Modifier and Type | Method and Description |
|---|---|
android.graphics.RectF |
getRectF()
Gets the bounds of the selection on the page.
|
CPDFTextRange |
getTextRange()
Gets a range of contiguous text on the page, more:
CPDFTextRange |
boolean |
isValid() |
void |
setRectF(android.graphics.RectF rectF)
Sets the bounds of the selection on the page.
|
void |
setTextRange(CPDFTextRange textRange)
Sets a range of contiguous text on the page.
|
public CPDFTextSelection(android.graphics.RectF rectF,
CPDFTextRange textRange)
public CPDFTextSelection(float left,
float top,
float right,
float bottom,
int location,
int length)
public android.graphics.RectF getRectF()
public void setRectF(android.graphics.RectF rectF)
rectF - Bounds of the selection on the page.public CPDFTextRange getTextRange()
CPDFTextRangepublic void setTextRange(CPDFTextRange textRange)
textRange - A range of contiguous text on the page.public boolean isValid()