Class StampAnnotation
java.lang.Object
org.openpdf.renderer.annotation.PDFAnnotation
org.openpdf.renderer.annotation.MarkupAnnotation
org.openpdf.renderer.annotation.StampAnnotation
PDF annotation describing a stamp
- Since:
- 26.03.2012
-
Nested Class Summary
Nested classes/interfaces inherited from class PDFAnnotation
PDFAnnotation.Flags -
Field Summary
FieldsFields inherited from class PDFAnnotation
GOTO, GOTOE, GOTOR, URI -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidIf the stamp is represented by one of the predefined icons this will parse it and create PDFCommands for them.Methods inherited from class MarkupAnnotation
getBorderStyle, getCurrentAppearance, getOffAppearance, getOnAppearance, getPageCommandsForAnnotation, getPopupAnnotation, getTextLabel, isAppearanceStateOn, parseAP, parseBorderStyleDictionary, switchAppearanceMethods inherited from class PDFAnnotation
createAnnotation, getAnnotationName, getAppearanceState, getContents, getFlags, getModified, getPdfObj, getRect, getScalingTransformation, getSubType, getType, isFlagSet, parseRect, toString
-
Field Details
-
iconName
-
iconCommands
-
-
Constructor Details
-
StampAnnotation
Constructor- Parameters:
annotObject-- Throws:
IOException
-
-
Method Details
-
parseIconCommands
private void parseIconCommands()If the stamp is represented by one of the predefined icons this will parse it and create PDFCommands for them. -
getIconName
- Returns:
- the iconName
-
getCurrentCommand
- Overrides:
getCurrentCommandin classMarkupAnnotation- Returns:
- the PDF commands to render this annotation
-