public abstract class TextMarkupAnnotation extends MarkupAnnotation
Abstract base class for text markup annotations.
_disableUpdateAppearance
Modifier and Type | Method and Description |
---|---|
String |
getMarkedText()
Gets text under markup annotation as string.
|
TextFragmentCollection |
getMarkedTextFragments()
Gets text under markup annotation as
TextFragmentCollection . |
Point[] |
getQuadPoints()
Gets an array of points specifying the coordinates of n quadrilaterals.
|
void |
setQuadPoints(Point[] value)
Sets an array of points specifying the coordinates of n quadrilaterals.
|
getCreationDate, getInReplyTo, getOpacity, getPopup, getReplyType, getRichText, getSubject, getTitle, setInReplyTo, setOpacity, setPopup, setReplyType, setRichText, setSubject, setTitle
accept, createAnnotation, flatten, getActiveState, getAlignment, getAnnotationType, getAppearance, getBorder, getCharacteristics, getColor, getContents, getEngineDict, getEngineObj, getFlags, getFullName, getHeight, getHorizontalAlignment_Annotation_New, getModified, getModifiedInternal, getName, getNormalAppearance, getPage, getPageIndex, getPageIndex, getPdfActions, getRect, getRectangle, getStates, getTextHorizontalAlignment, getWidth, initialize, isUpdateAppearanceOnConvert, isUseFontSubset, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setRect, setStructParent, setTextHorizontalAlignment, setUpdateAppearanceOnConvert, setUseFontSubset, setWidth
deepClone, getHorizontalAlignment, getHyperlink, getMargin, getVerticalAlignment, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndex
public Point[] getQuadPoints()
Gets an array of points specifying the coordinates of n quadrilaterals. Each quadrilateral encompasses a word or group of contiguous words in the text underlying the annotation.
public void setQuadPoints(Point[] value)
Sets an array of points specifying the coordinates of n quadrilaterals. Each quadrilateral encompasses a word or group of contiguous words in the text underlying the annotation.
value
- array of Point valuepublic String getMarkedText()
Gets text under markup annotation as string.
public TextFragmentCollection getMarkedTextFragments()
Gets text under markup annotation as TextFragmentCollection
.
TextFragmentCollection
containing TextFragment
s that is under markup annotation.