|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pdfbox.pdmodel.interactive.measurement.PDViewportDictionary
public class PDViewportDictionary
This class represents a viewport dictionary.
| Field Summary | |
|---|---|
static String |
TYPE
The type of this annotation. |
| Constructor Summary | |
|---|---|
PDViewportDictionary()
Constructor. |
|
PDViewportDictionary(COSDictionary dictionary)
Constructor. |
|
| Method Summary | |
|---|---|
PDRectangle |
getBBox()
This will retrieve the rectangle specifying the location of the viewport. |
COSBase |
getCOSObject()
Convert this standard java object to a COS object. |
COSDictionary |
getDictionary()
This will return the corresponding dictionary. |
PDMeasureDictionary |
getMeasure()
This will retrieve the measure dictionary. |
String |
getName()
This will retrieve the name of the viewport. |
String |
getType()
Returns the type of the viewport dictionary. |
void |
setBBox(PDRectangle rectangle)
This will set the rectangle specifying the location of the viewport. |
void |
setMeasure(PDMeasureDictionary measure)
This will set the measure dictionary. |
void |
setName(String name)
This will set the name of the viewport. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE
| Constructor Detail |
|---|
public PDViewportDictionary()
public PDViewportDictionary(COSDictionary dictionary)
dictionary - the dictionary| Method Detail |
|---|
public COSBase getCOSObject()
getCOSObject in interface COSObjectablepublic COSDictionary getDictionary()
public String getType()
public PDRectangle getBBox()
public void setBBox(PDRectangle rectangle)
rectangle - the rectangle specifying the location.public String getName()
public void setName(String name)
name - the name of the viewportpublic PDMeasureDictionary getMeasure()
public void setMeasure(PDMeasureDictionary measure)
measure - the measure dictionary
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||