Interface HighlightingRectangle
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
HighlightingRectangleImpl
public interface HighlightingRectangle extends Serializable
A rectangle (defined by its upper left and lower right coordinates) for highlighted text including the text itself.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetLrx()the relative abscissa of the lower right point of the rectangledoublegetLry()the relative ordinate of the lower right point of the rectangleintgetRef()The reference of the highlight rectangle, e.g. a page numberStringgetText()The text to be highlighted (e.g. for plaintext representation)doublegetUlx()The relative abscissa (x) of the upper left point of the rectangledoublegetUly()The relative ordinate (y) of the upper left point of the rectangle
-
-
-
Method Detail
-
getText
String getText()
The text to be highlighted (e.g. for plaintext representation)- Returns:
- the text
-
getRef
int getRef()
The reference of the highlight rectangle, e.g. a page number- Returns:
- the value of the reference
-
getUlx
double getUlx()
The relative abscissa (x) of the upper left point of the rectangle- Returns:
- a value in the range [0..1]
-
getUly
double getUly()
The relative ordinate (y) of the upper left point of the rectangle- Returns:
- a value in the range [0..1]
-
getLrx
double getLrx()
the relative abscissa of the lower right point of the rectangle- Returns:
- a value in the range [0..1]
-
getLry
double getLry()
the relative ordinate of the lower right point of the rectangle- Returns:
- a value in the range [0..1]
-
-