public class PDViewportDictionary extends Object implements COSObjectable
Modifier and Type | Field and Description |
---|---|
static String |
TYPE
The type of this annotation.
|
Constructor and Description |
---|
PDViewportDictionary()
Constructor.
|
PDViewportDictionary(COSDictionary dictionary)
Constructor.
|
Modifier and Type | Method and 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.
|
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.
|
public static final String TYPE
public PDViewportDictionary()
public PDViewportDictionary(COSDictionary dictionary)
dictionary
- the dictionarypublic COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public 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 dictionaryCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.