public final class InkAnnotation extends MarkupAnnotation
Represents a freehand "scribble" composed of one or more disjoint paths.
_disableUpdateAppearance| Constructor and Description |
|---|
InkAnnotation(IDocument document,
List<Point[]> inkList)
Constructor for Ink annotation for Generator.
|
InkAnnotation(Page page,
Rectangle rect,
List<Point[]> inkList)
Creates new Ink 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.
|
int |
getCapStyle()
get style of ink annotation line endings.
|
List<Point[]> |
getInkList()
Gets list of gestures that are independent lines which are represented by Point[] arrays.
|
void |
setCapStyle(int value)
Set style of ink annotation line endings.
|
void |
setInkList(List<Point[]> value)
Sets list of gestures that are independent lines which are represented by Point[] arrays.
|
getCreationDate, 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, getPageIndex, getPageIndex, getRect, getRectangle, getStates, getWidth, initialize, isUpdateAppearanceOnConvert, isUseFontSubset, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setRect, setUpdateAppearanceOnConvert, setUseFontSubset, setWidthdeepClone, getHorizontalAlignment, getHyperlink, getMargin, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndexpublic InkAnnotation(IDocument document, List<Point[]> inkList)
document - Document where ink annotation will be created.inkList - An array of Point[] arrays, each representing a stroked path.public InkAnnotation(Page page, Rectangle rect, List<Point[]> inkList)
Creates new Ink 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.inkList - An array of Point[] arrays, each representing a stroked path.public int getCapStyle()
get style of ink annotation line endings.
CapStylepublic void setCapStyle(int value)
Set style of ink annotation line endings.
value - CapStyle elementCapStylepublic void accept(AnnotationSelector visitor)
Accepts visitor object to process the annotation.
accept in class Annotationvisitor - Visitor object.public List<Point[]> getInkList()
Gets list of gestures that are independent lines which are represented by Point[] arrays.
List<Point[]> objectpublic void setInkList(List<Point[]> value)
Sets list of gestures that are independent lines which are represented by Point[] arrays.
value - List<Point[]> objectpublic int getAnnotationType()
Gets type of annotation.
getAnnotationType in class AnnotationAnnotationTypeCopyright © 2016 Aspose. All Rights Reserved.