|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.qoppa.pdf.TextPosition
Object that holds information about the location of a text string in a PDF file. This information is returned by the library when text information is needed by the host application. The information includes the text position, its angle and its "quadrilateral", the four points that enclose the text on the display.
| Constructor Summary | |
TextPosition(String text,
Shape textShape,
Point2D.Double[] quad,
double angle)
|
|
| Method Summary | |
double |
getAngle()
Returns the angle that this text is displayed at on the page. |
Shape |
getEnclosingShape()
Returns a shape that encloses the text on the page. |
Point2D.Double[] |
getQuadrilateral()
Returns a quadrilateral with the four corners for this text string. |
String |
getText()
Returns the text string. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextPosition(String text,
Shape textShape,
Point2D.Double[] quad,
double angle)
| Method Detail |
public Shape getEnclosingShape()
public String getText()
public Point2D.Double[] getQuadrilateral()
public double getAngle()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||