|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pdfbox.pdmodel.graphics.xobject.PDXObject
org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectForm
public class PDXObjectForm
A form xobject.
| Field Summary | |
|---|---|
static String |
SUB_TYPE
The XObject subtype. |
| Constructor Summary | |
|---|---|
PDXObjectForm(COSStream formStream)
Standard constuctor. |
|
PDXObjectForm(PDStream formStream)
Standard constuctor. |
|
| Method Summary | |
|---|---|
PDRectangle |
getBBox()
An array of four numbers in the form coordinate system (see below), giving the coordinates of the left, bottom, right, and top edges, respectively, of the form XObject's bounding box. |
int |
getFormType()
This will get the form type, currently 1 is the only form type. |
Matrix |
getMatrix()
This will get the optional Matrix of an XObjectForm. |
PDResources |
getResources()
This will get the resources at this page and not look up the hierarchy. |
int |
getStructParents()
This will get the key of this XObjectForm in the structural parent tree. |
void |
setBBox(PDRectangle bbox)
This will set the BBox (bounding box) for this form. |
void |
setFormType(int formType)
Set the form type. |
void |
setMatrix(AffineTransform transform)
Sets the optional Matrix entry for the form XObject. |
void |
setResources(PDResources resources)
This will set the resources for this page. |
void |
setStructParents(int structParent)
This will set the key for this XObjectForm in the structural parent tree. |
| Methods inherited from class org.apache.pdfbox.pdmodel.graphics.xobject.PDXObject |
|---|
clear, commonXObjectCreation, createXObject, getCOSObject, getCOSStream, getMetadata, getPDStream, getStructParent, setMetadata, setStructParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SUB_TYPE
| Constructor Detail |
|---|
public PDXObjectForm(PDStream formStream)
formStream - The XObject is passed as a COSStream.public PDXObjectForm(COSStream formStream)
formStream - The XObject is passed as a COSStream.| Method Detail |
|---|
public int getFormType()
public void setFormType(int formType)
formType - The new form type.public PDResources getResources()
public void setResources(PDResources resources)
resources - The new resources for this page.public PDRectangle getBBox()
public void setBBox(PDRectangle bbox)
bbox - The new BBox for this form.public Matrix getMatrix()
public void setMatrix(AffineTransform transform)
transform - the transformation matrixpublic int getStructParents()
public void setStructParents(int structParent)
structParent - The new key for this XObjectForm.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||