public interface TextSelection
Modifier and Type | Method and Description |
---|---|
List<Point2D[]> |
getPDFQuadrilaterals()
Returns a list of quadrilaterals for the text selection areas.
|
Shape |
getPDFSelectionShape()
Returns the entire shape that encloses all different word groups in this selection.
|
Vector<Point2D[]> |
getQuadrilaterals()
Deprecated.
replaced by
getPDFQuadrilaterals() . |
Shape |
getSelectionShape()
Deprecated.
replaced by
getViewSelectionShape() . |
String |
getText()
Returns a string containing all the selected text.
|
String |
getText(boolean lineBreaks)
Returns a string containing all the selected text.
|
List<Point2D[]> |
getViewQuadrilaterals()
Returns a list of quadrilaterals for the text selection areas.
|
Shape |
getViewSelectionShape()
Returns the entire shape that encloses all different word groups in this selection.
|
@Deprecated Shape getSelectionShape()
getViewSelectionShape()
.Shape getPDFSelectionShape()
Shape getViewSelectionShape()
String getText()
String getText(boolean lineBreaks)
lineBreaks
- If set to true, lines within paragraphs will be split into separate lines. If set to false, lines within paragraphs will be separated with spaces.@Deprecated Vector<Point2D[]> getQuadrilaterals()
getPDFQuadrilaterals()
.List<Point2D[]> getPDFQuadrilaterals()
List<Point2D[]> getViewQuadrilaterals()