public class PDAnnotationHighlight extends PDAnnotationTextMarkup
Modifier and Type | Field and Description |
---|---|
static String |
SUB_TYPE
The type of annotation.
|
RT_GROUP, RT_REPLY
Constructor and Description |
---|
PDAnnotationHighlight()
Constructor.
|
PDAnnotationHighlight(COSDictionary dict)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
constructAppearances()
Create the appearance entry for this annotation.
|
void |
constructAppearances(PDDocument document)
Create the appearance entry for this annotation.
|
void |
setCustomAppearanceHandler(PDAppearanceHandler appearanceHandler)
Set a custom appearance handler for generating the annotations appearance streams.
|
getQuadPoints, setQuadPoints
getBorderStyle, getConstantOpacity, getCreationDate, getExternalData, getInReplyTo, getIntent, getPopup, getReplyType, getRichContents, getSubject, getTitlePopup, setBorderStyle, setConstantOpacity, setCreationDate, setExternalData, setInReplyTo, setIntent, setPopup, setReplyType, setRichContents, setSubject, setTitlePopup
createAnnotation, equals, getAnnotationFlags, getAnnotationName, getAppearance, getAppearanceState, getBorder, getColor, getColor, getContents, getCOSObject, getModifiedDate, getNormalAppearanceStream, getOptionalContent, getPage, getRectangle, getStructParent, getSubtype, hashCode, isHidden, isInvisible, isLocked, isLockedContents, isNoRotate, isNoView, isNoZoom, isPrinted, isReadOnly, isToggleNoView, setAnnotationFlags, setAnnotationName, setAppearance, setAppearanceState, setBorder, setColor, setContents, setHidden, setInvisible, setLocked, setLockedContents, setModifiedDate, setModifiedDate, setNoRotate, setNoView, setNoZoom, setOptionalContent, setPage, setPrinted, setReadOnly, setRectangle, setStructParent, setSubtype, setToggleNoView
public static final String SUB_TYPE
public PDAnnotationHighlight()
public PDAnnotationHighlight(COSDictionary dict)
dict
- The annotations dictionary.public void setCustomAppearanceHandler(PDAppearanceHandler appearanceHandler)
appearanceHandler
- custom appearance handlerpublic void constructAppearances()
PDAnnotation
constructAppearances
in class PDAnnotation
public void constructAppearances(PDDocument document)
PDAnnotation
constructAppearances
in class PDAnnotation
document
- the related documentCopyright © 2002–2023 The Apache Software Foundation. All rights reserved.