COSObjectable
public class PDViewportDictionary extends java.lang.Object implements COSObjectable
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
TYPE |
The type of this annotation.
|
Constructor | Description |
---|---|
PDViewportDictionary() |
Constructor.
|
PDViewportDictionary(COSDictionary dictionary) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
java.lang.String |
getName() |
This will retrieve the name of the viewport.
|
java.lang.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(java.lang.String name) |
This will set the name of the viewport.
|
public static final java.lang.String TYPE
public PDViewportDictionary()
public PDViewportDictionary(COSDictionary dictionary)
dictionary
- the dictionarypublic COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public COSDictionary getDictionary()
public java.lang.String getType()
public PDRectangle getBBox()
public void setBBox(PDRectangle rectangle)
rectangle
- the rectangle specifying the location.public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name of the viewportpublic PDMeasureDictionary getMeasure()
public void setMeasure(PDMeasureDictionary measure)
measure
- the measure dictionary