Package org.openpdf.text.pdf.parser
Class MatchedPattern
java.lang.Object
org.openpdf.text.pdf.parser.MatchedPattern
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMatchedPattern(String text, int page, float llx, float lly, float urx, float ury) Constructor to pair a strip of text with its bounding box coordinates inside a page. -
Method Summary
-
Field Details
-
text
-
page
private final int page -
coordinates
private final float[] coordinates
-
-
Constructor Details
-
MatchedPattern
MatchedPattern(String text, int page, float llx, float lly, float urx, float ury) Constructor to pair a strip of text with its bounding box coordinates inside a page. The coordinates system has the origin (0, 0) in the lower left point of the page and uses PDF points as unit measure.- Parameters:
text- stringpage- intllx- float lower left x coordinatelly- float lower left y coordinateurx- float upper right x coordinateury- float upper right y coordinate
-
-
Method Details