Class Annotations.LineAnnotation
Extends
Annotations.MarkupAnnotation.
Constructor Attributes | Constructor Name and Description |
---|---|
Represents a line annotation.
|
- Fields borrowed from class Annotations.MarkupAnnotation:
- DateCreated, FillColor, Opacity, selectionModel, StrokeColor, StrokeThickness
- Fields borrowed from class Annotations.Annotation:
- Author, Custom, DateModified, elementName, Height, Hidden, Id, IsAdded, IsDeleted, IsModified, Listable, NoMove, NoResize, NoRotate, NoZoom, PageNumber, Subject, Width, X, Y
Method Attributes | Method Name and Description |
---|---|
Gets the ending point of the line
|
|
Gets the end style of the line
|
|
Gets the starting point of the line
|
|
Gets the start style of the line
|
|
setEndPoint(x, y)
Sets the ending point of the line
|
|
setEndStyle(endingStyle)
Sets the ending style of the line
|
|
setStartPoint(x, y)
Sets the starting point of the line
|
|
setStartStyle(startStyle)
Sets the start style of the line
|
- Methods borrowed from class Annotations.MarkupAnnotation:
- getPopup, setPopup, setStyles
- Methods borrowed from class Annotations.Annotation:
- adjustRect, deserialize, draw, getBottom, getContents, getCustom, getFlag, getHeight, getLeft, getPageNumber, getRect, getRectPadding, getReplies, getRight, getTop, getWidth, getX, getY, isReply, render, resize, serialize, setContents, setCustom, setFlag, setHeight, setPageNumber, setRect, setWidth, setX, setY, unrender
Method Detail
{Annotations.Point}
getEndPoint()
Gets the ending point of the line
- Returns:
- {Annotations.Point} The end point
{string}
getEndStyle()
Gets the end style of the line
- Returns:
- {string} The end style
{Annotations.Point}
getStartPoint()
Gets the starting point of the line
- Returns:
- {Annotations.Point} The start point
{string}
getStartStyle()
Gets the start style of the line
- Returns:
- {string} The start style
setEndPoint(x, y)
Sets the ending point of the line
- Parameters:
- {number} x
- The x coordinate of the point
- {number} y
- The y coordinate of the point
setEndStyle(endingStyle)
Sets the ending style of the line
- Parameters:
- {string} endingStyle
- The ending style
setStartPoint(x, y)
Sets the starting point of the line
- Parameters:
- {number} x
- The x coordinate of the point
- {number} y
- The y coordinate of the point
setStartStyle(startStyle)
Sets the start style of the line
- Parameters:
- {string} startStyle
- The starting style