public final class PolygonAnnotation extends PolyAnnotation
Class representing polygon annotation.
_disableUpdateAppearance| Constructor and Description |
|---|
PolygonAnnotation(Page page,
Rectangle rect,
Point[] vertices)
Creates new Polygon annotation on the specified page.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AnnotationSelector visitor)
Accepts visitor object for annotation processing.
|
void |
writeXfdf(com.aspose.ms.System.Xml.XmlWriter writer) |
getEndingStyle, getIntent, getInteriorColor, getStartingStyle, getVertices, setEndingStyle, setIntent, setInteriorColor, setStartingStyle, setVerticesgetCreationDate, getCreationDateInternal, getInReplyTo, getOpacity, getPopup, getReplyType, getRichText, getSubject, getTitle, setInReplyTo, setOpacity, setPopup, setReplyType, setRichText, setSubject, setTitlecreateAnnotation, flatten, getActiveState, getAlignment, getAppearance, getBorder, getCharacteristics, getColor, getContents, getEngineDict, getEngineObj, getFlags, getFullName, getHeight, getHorizontalAlignment_Annotation_New, getModified, getModifiedInternal, getName, getNormalAppearance, getPage, getPageIndex, getPageIndex, getRect, getStates, getWidth, initialize, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setRect, setWidthdeepClone, getMargin, isKeptWithNext, isKeptWithNext, setHorizontalAlignment, setMargin, setVerticalAlignmentpublic PolygonAnnotation(Page page, Rectangle rect, Point[] vertices)
Creates new Polygon annotation on the specified page.
page - The document's page where annotation should be created.rect - The annotation rectangle, defining the location of the annotation on the page.vertices - An array of polygon vertices points.public void writeXfdf(com.aspose.ms.System.Xml.XmlWriter writer)
public void accept(AnnotationSelector visitor)
Accepts visitor object for annotation processing.
accept in class Annotationvisitor - Visitor object.Copyright © 2018 Aspose. All Rights Reserved.