public abstract class PolyAnnotation extends MarkupAnnotation
Abstract base class for poly-annotations.
| Modifier and Type | Method and Description |
|---|---|
void |
changeAfterResize(Matrix transform)
Updates the points in Vertices, according to the matrix transform.
|
LineEnding |
getEndingStyle()
Gets the style of second line ending.
|
PolyIntent |
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.
|
LineEnding |
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(LineEnding value)
Sets the style of second line ending.
|
void |
setIntent(PolyIntent 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(LineEnding 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.
|
clearState, getCreationDate, getInReplyTo, getOpacity, getPopup, getReplyType, getRichText, getState, getStateModel, getSubject, getTitle, setCreationDate, setInReplyTo, setMarkedState, setOpacity, setPopup, setReplyType, setReviewState, setReviewState, setRichText, setSubject, setTitleaccept, 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, setTextHorizontalAlignment, setUpdateAppearanceOnConvert, setUseFontSubset, setWidthdeepClone, getHorizontalAlignment, getHyperlink, getMargin, getVerticalAlignment, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndexpublic 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 LineEnding getStartingStyle()
Gets the style of first line ending.
LineEndingpublic void setStartingStyle(LineEnding value)
Sets the style of first line ending.
value - LineEnding elementLineEndingpublic LineEnding getEndingStyle()
Gets the style of second line ending.
LineEndingpublic void setEndingStyle(LineEnding value)
Sets the style of second line ending.
value - LineEnding elementLineEndingpublic PolyIntent getIntent()
Gets the intent of the polygon or polyline annotation.
PolyIntentpublic void setIntent(PolyIntent value)
Sets the intent of the polygon or polyline annotation.
value - PolyIntent elementPolyIntentpublic void changeAfterResize(Matrix transform)
Updates the points in Vertices, according to the matrix transform.
changeAfterResize in class Annotationtransform - Matrix specifying the transformation.Copyright © 2025 Aspose. All Rights Reserved.