|
Gnostice PDFOne
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gnostice.pdfone.PdfPageElement
This class represents a PDF page element.
PdfProDocument.getPageElements(int, int)
Field Summary | |
static int |
ELEMENT_TYPE_ALL
Constant specifying all types of PDF page elements. |
static int |
ELEMENT_TYPE_COMPOSITE
Constant specifying a composite PDF page element. |
static int |
ELEMENT_TYPE_IMAGE
Constant specifying a image element. |
static int |
ELEMENT_TYPE_INLINE_IMAGE
|
static int |
ELEMENT_TYPE_PATH
Constant specifying a path element. |
static int |
ELEMENT_TYPE_TEXT
Constant specifying a text element. |
Method Summary | |
Rectangle2D |
getBoundingRect()
Return bounding box of the text element. |
int |
getElementType()
Returns type of this page element. |
Color |
getFillColor()
Returns color with which the text element is filled. |
PdfGraphicsState |
getGraphicsState()
|
int |
getPageNum()
Returns number of the page. |
Color |
getStrokeColor()
Returns color with which the text element is stroked. |
AffineTransform |
getTransformationMatrix()
|
double |
getX()
Returns x-coordinate of the top-left corner of the bounding box of the page element. |
double |
getY()
Returns y-coordinate of the top-left corner of the bounding box of the page element. |
boolean |
isAtPoint(Point2D point)
|
boolean |
isAtRect(Rectangle2D rect)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ELEMENT_TYPE_TEXT
public static final int ELEMENT_TYPE_IMAGE
public static final int ELEMENT_TYPE_PATH
public static final int ELEMENT_TYPE_INLINE_IMAGE
public static final int ELEMENT_TYPE_COMPOSITE
public static final int ELEMENT_TYPE_ALL
Method Detail |
public int getElementType()
public int getPageNum()
public double getX()
public double getY()
public Rectangle2D getBoundingRect()
public PdfGraphicsState getGraphicsState()
public AffineTransform getTransformationMatrix()
public Color getFillColor()
public Color getStrokeColor()
public boolean isAtPoint(Point2D point)
public boolean isAtRect(Rectangle2D rect)
public String toString()
|
Pro. Ed. v5.0.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |