public final class PolylineAnnotation extends PolyAnnotation
Represents polyline annotation that is similar to polygon, except that the first and last vertex are not implicitly connected.
_disableUpdateAppearance
Constructor and Description |
---|
PolylineAnnotation(Page page,
Rectangle rect,
Point[] vertices)
Creates new Polyline annotation on the specified page.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(AnnotationSelector visitor)
Accepts visitor object to process the annotation.
|
int |
getAnnotationType()
Gets type of annotation.
|
Measure |
getMeasure()
Measure units specifed for this annotation.
|
void |
setMeasure(Measure value)
Measure units specified for this annotation.
|
getEndingStyle, getIntent, getInteriorColor, getStartingStyle, getVertices, setEndingStyle, setIntent, setInteriorColor, setStartingStyle, setVertices
getCreationDate, getInReplyTo, getOpacity, getPopup, getReplyType, getRichText, getSubject, getTitle, setInReplyTo, setOpacity, setPopup, setReplyType, setRichText, setSubject, setTitle
createAnnotation, 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, isUseFontSubset, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setRect, setUseFontSubset, setWidth
deepClone, getHorizontalAlignment, getHyperlink, getMargin, isFirstParagraphInColumn, isFootNoteParagraph, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setFootNoteParagraph, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment
public PolylineAnnotation(Page page, Rectangle rect, Point[] vertices)
Creates new Polyline 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 Measure getMeasure()
Measure units specifed for this annotation.
public void setMeasure(Measure value)
Measure units specified for this annotation.
value
- Measure objectpublic void accept(AnnotationSelector visitor)
Accepts visitor object to process the annotation.
accept
in class Annotation
visitor
- Visitor object.public int getAnnotationType()
Gets type of annotation.
getAnnotationType
in class Annotation
AnnotationType
Copyright © 2016 Aspose. All Rights Reserved.