COSObjectablepublic class PDViewportDictionary extends java.lang.Object implements COSObjectable
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
TYPE |
The type of this object.
|
| 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.
|
COSDictionary |
getCOSObject() |
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 COSDictionary getCOSObject()
getCOSObject in interface COSObjectablepublic 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 dictionaryCopyright © 2002–2018. All rights reserved.