public class PDAnnotationTextMarkup extends PDAnnotationMarkup
Modifier and Type | Field and Description |
---|---|
static String |
SUB_TYPE_HIGHLIGHT
The types of annotation.
|
static String |
SUB_TYPE_SQUIGGLY
The types of annotation.
|
static String |
SUB_TYPE_STRIKEOUT
The types of annotation.
|
static String |
SUB_TYPE_UNDERLINE
The types of annotation.
|
RT_GROUP, RT_REPLY, SUB_TYPE_CARET, SUB_TYPE_FREETEXT, SUB_TYPE_INK, SUB_TYPE_POLYGON, SUB_TYPE_POLYLINE, SUB_TYPE_SOUND
FLAG_HIDDEN, FLAG_INVISIBLE, FLAG_LOCKED, FLAG_NO_ROTATE, FLAG_NO_VIEW, FLAG_NO_ZOOM, FLAG_PRINTED, FLAG_READ_ONLY, FLAG_TOGGLE_NO_VIEW
Constructor and Description |
---|
PDAnnotationTextMarkup(COSDictionary field)
Creates a TextMarkup annotation from a COSDictionary, expected to be a
correct object definition.
|
PDAnnotationTextMarkup(String subType)
Creates a TextMarkup annotation of the specified sub type.
|
Modifier and Type | Method and Description |
---|---|
float[] |
getQuadPoints()
This will retrieve the set of quadpoints which encompass the areas of
this annotation.
|
String |
getSubtype()
This will retrieve the sub type (and hence appearance, AP taking precedence)
For this annotation.
|
void |
setQuadPoints(float[] quadPoints)
This will set the set of quadpoints which encompass the areas of this
annotation.
|
void |
setSubtype(String subType)
This will set the sub type (and hence appearance, AP taking precedence) For
this annotation.
|
getConstantOpacity, getCreationDate, getExternalData, getInReplyTo, getIntent, getPopup, getReplyType, getRichContents, getSubject, getTitlePopup, setConstantOpacity, setCreationDate, setExternalData, setInReplyTo, setIntent, setPopup, setReplyType, setRichContents, setSubject, setTitlePopup
createAnnotation, getAnnotationFlags, getAnnotationName, getAppearance, getAppearanceStream, getColour, getContents, getCOSObject, getDictionary, getModifiedDate, getPage, getRectangle, getStructParent, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isPrinted, isReadOnly, isToggleNoView, setAnnotationFlags, setAnnotationName, setAppearance, setAppearanceStream, setColour, setContents, setHidden, setInvisible, setLocked, setModifiedDate, setNoRotate, setNoView, setNoZoom, setPage, setPrinted, setReadOnly, setRectangle, setStructParent, setToggleNoView
public static final String SUB_TYPE_HIGHLIGHT
public static final String SUB_TYPE_UNDERLINE
public static final String SUB_TYPE_SQUIGGLY
public static final String SUB_TYPE_STRIKEOUT
public PDAnnotationTextMarkup(String subType)
subType
- the subtype the annotation representspublic PDAnnotationTextMarkup(COSDictionary field)
field
- the PDF objet to represent as a field.public void setQuadPoints(float[] quadPoints)
quadPoints
- an array representing the set of area coveredpublic float[] getQuadPoints()
public void setSubtype(String subType)
subType
- The subtype of the annotationpublic String getSubtype()
getSubtype
in class PDAnnotation
Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.