public final class LineAnnotation extends MarkupAnnotation
Class representing line annotation.
_disableUpdateAppearance
Constructor and Description |
---|
LineAnnotation(Page page,
Rectangle rect,
Point start,
Point end)
Creates new Line annotation on the specified page.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(AnnotationSelector visitor)
Accepts visitor to annotation processing.
|
Point |
getCaptionOffset()
Gets caption text offset from its normal position.
|
int |
getCaptionPosition()
Gets annotation caption position.
|
Point |
getEnding()
Gets line ending point.
|
int |
getEndingStyle()
Gets ending style for end point of line.
|
int |
getIntent()
Gets the intent of the line annotation.
|
Color |
getInteriorColor()
Gets interior color of the annotation.
|
double |
getLeaderLine()
Gets leader line length.
|
double |
getLeaderLineExtension()
Gets length of leader line extension.
|
double |
getLeaderLineOffset()
Gets leader line offset.
|
boolean |
getShowCaption()
Gets boolean flag which determinies is contents must be shown as caption.
|
Point |
getStarting()
Gets starting point of line.
|
int |
getStartingStyle()
Gets line ending style for line starting point.
|
void |
setCaptionOffset(Point value)
Sets caption text offset from its normal position.
|
void |
setCaptionPosition(int value)
Sets annotation caption position.
|
void |
setEnding(Point value)
Sets line ending point.
|
void |
setEndingStyle(int value)
Sets ending style for end point of line.
|
void |
setIntent(int value)
Sets the intent of the line annotation.
|
void |
setInteriorColor(Color value)
Sets interior color of the annotation.
|
void |
setLeaderLine(double value)
Sets leader line length.
|
void |
setLeaderLineExtension(double value)
Sets length of leader line extension.
|
void |
setLeaderLineOffset(double value)
Sets leader line offset.
|
void |
setShowCaption(boolean value)
Sets boolean flag which determinies is contents must be shown as caption.
|
void |
setStarting(Point value)
Sets starting point of line.
|
void |
setStartingStyle(int value)
Sets line ending style for line starting point.
|
void |
writeXfdf(com.aspose.ms.System.Xml.XmlWriter writer) |
getCreationDate, getCreationDateInternal, 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, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setRect, setWidth
deepClone, getHorizontalAlignment, getHyperlink, getMargin, getVerticalAlignment, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndex
public LineAnnotation(Page page, Rectangle rect, Point start, Point end)
Creates new Line 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.start
- A point, specifying the starting coordinate of the line.end
- A point, specifying the ending coordinate of the line.public void writeXfdf(com.aspose.ms.System.Xml.XmlWriter writer)
public Point getStarting()
Gets starting point of line.
public void setStarting(Point value)
Sets starting point of line.
public int getStartingStyle()
Gets line ending style for line starting point.
public void setStartingStyle(int value)
Sets line ending style for line starting point.
public Point getEnding()
Gets line ending point.
public void setEnding(Point value)
Sets line ending point.
public int getEndingStyle()
Gets ending style for end point of line.
public void setEndingStyle(int value)
Sets ending style for end point of line.
public Color getInteriorColor()
Gets interior color of the annotation.
public void setInteriorColor(Color value)
Sets interior color of the annotation.
public double getLeaderLine()
Gets leader line length.
public void setLeaderLine(double value)
Sets leader line length.
public double getLeaderLineExtension()
Gets length of leader line extension.
public void setLeaderLineExtension(double value)
Sets length of leader line extension.
public boolean getShowCaption()
Gets boolean flag which determinies is contents must be shown as caption.
public void setShowCaption(boolean value)
Sets boolean flag which determinies is contents must be shown as caption.
public double getLeaderLineOffset()
Gets leader line offset.
public void setLeaderLineOffset(double value)
Sets leader line offset.
public Point getCaptionOffset()
Gets caption text offset from its normal position.
public void setCaptionOffset(Point value)
Sets caption text offset from its normal position.
public int getCaptionPosition()
Gets annotation caption position.
public void setCaptionPosition(int value)
Sets annotation caption position.
public void accept(AnnotationSelector visitor)
Accepts visitor to annotation processing.
accept
in class Annotation
visitor
- Visitor objectpublic int getIntent()
Gets the intent of the line annotation.
public void setIntent(int value)
Sets the intent of the line annotation.
Copyright © 2020 Aspose. All Rights Reserved.