Class PDMeasureDictionary
java.lang.Object
org.apache.pdfbox.pdmodel.interactive.measurement.PDMeasureDictionary
- All Implemented Interfaces:
COSObjectable
- Direct Known Subclasses:
PDRectlinearMeasureDictionary
This class represents a measure dictionary.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final COSDictionary
static final String
The type of the dictionary. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor.PDMeasureDictionary
(COSDictionary dictionary) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionThis will return the corresponding dictionary.returns the subtype of the measure dictionary.getType()
This will return the type of the measure dictionary.protected void
setSubtype
(String subtype) This will set the subtype of the measure dictionary.
-
Field Details
-
TYPE
The type of the dictionary.- See Also:
-
measureDictionary
-
-
Constructor Details
-
PDMeasureDictionary
protected PDMeasureDictionary()Constructor. -
PDMeasureDictionary
Constructor.- Parameters:
dictionary
- the corresponding dictionary
-
-
Method Details
-
getCOSObject
This will return the corresponding dictionary.- Specified by:
getCOSObject
in interfaceCOSObjectable
- Returns:
- the measure dictionary
-
getType
This will return the type of the measure dictionary. It must be "Measure"- Returns:
- the type
-
getSubtype
returns the subtype of the measure dictionary.- Returns:
- the subtype of the measure data dictionary
-
setSubtype
This will set the subtype of the measure dictionary.- Parameters:
subtype
- the subtype of the measure dictionary
-