public abstract class PolyAnnotation extends MarkupAnnotation
Abstract base class for poly-annotations.
_disableUpdateAppearance
Modifier and Type | Method and Description |
---|---|
int |
getEndingStyle()
Gets the style of second line ending.
|
int |
getIntent()
Gets the intent of the polygon or polyline annotation.
|
Color |
getInteriorColor()
Gets the interior color with which to fill the annotation's line endings.
|
Measure |
getMeasure()
Measure units specified for this annotation.
|
int |
getStartingStyle()
Gets the style of first line ending.
|
Point[] |
getVertices()
Gets an array of points representing the horizontal and vertical coordinates of each vertex.
|
void |
setEndingStyle(int value)
Sets the style of second line ending.
|
void |
setIntent(int value)
Sets the intent of the polygon or polyline annotation.
|
void |
setInteriorColor(Color value)
Sets the interior color with which to fill the annotation's line endings.
|
void |
setMeasure(Measure value)
Measure units specified for this annotation.
|
void |
setStartingStyle(int value)
Sets the style of first line ending.
|
void |
setVertices(Point[] value)
Sets an array of points representing the horizontal and vertical coordinates of each vertex.
|
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 Measure getMeasure()
Measure units specified for this annotation.
public void setMeasure(Measure value)
Measure units specified for this annotation.
value
- Measure instancepublic Point[] getVertices()
Gets an array of points representing the horizontal and vertical coordinates of each vertex.
public void setVertices(Point[] value)
Sets an array of points representing the horizontal and vertical coordinates of each vertex.
value
- array of Point valuepublic Color getInteriorColor()
Gets the interior color with which to fill the annotation's line endings.
public void setInteriorColor(Color value)
Sets the interior color with which to fill the annotation's line endings.
value
- Color objectpublic int getStartingStyle()
Gets the style of first line ending.
LineEnding
public void setStartingStyle(int value)
Sets the style of first line ending.
value
- LineEnding elementLineEnding
public int getEndingStyle()
Gets the style of second line ending.
LineEnding
public void setEndingStyle(int value)
Sets the style of second line ending.
value
- LineEnding elementLineEnding
public int getIntent()
Gets the intent of the polygon or polyline annotation.
PolyIntent
public void setIntent(int value)
Sets the intent of the polygon or polyline annotation.
value
- PolyIntent elementPolyIntent