Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.graphics.xobject » [javadoc | source]
public class: PDXObjectForm [javadoc | source]

All Implemented Interfaces:

A form xobject.
Field Summary
public static final  String SUB_TYPE    The XObject subtype. 
 public PDXObjectForm(PDStream formStream) 
    Standard constuctor.
    formStream - The XObject is passed as a COSStream.
 public PDXObjectForm(COSStream formStream) 
    Standard constuctor.
    formStream - The XObject is passed as a COSStream.
Method from org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectForm Summary:
getBBox,   getFormType,   getMatrix,   getResources,   setBBox,   setFormType,   setResources
Methods from org.apache.pdfbox.pdmodel.graphics.xobject.PDXObject:
createXObject,   getCOSObject,   getCOSStream,   getMetadata,   getPDStream,   setMetadata
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectForm Detail:
 public 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. These boundaries are used to clip the form XObject and to determine its size for caching.
 public int getFormType() 
    This will get the form type, currently 1 is the only form type.
 public Matrix getMatrix() 
    This will get the optional Matrix of an XObjectForm. It maps the form space into the user space
 public PDResources getResources() 
    This will get the resources at this page and not look up the hierarchy. This attribute is inheritable, and findResources() should probably used. This will return null if no resources are available at this level.
 public  void setBBox(PDRectangle bbox) 
    This will set the BBox (bounding box) for this form.
 public  void setFormType(int formType) 
    Set the form type.
 public  void setResources(PDResources resources) 
    This will set the resources for this page.