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, 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, GetPopupComment, getRect, getRectPadding, getReplies, GetRight, GetTop, GetWidth, GetX, GetY, isReply, resize, serialize, setContents, SetCustom, setFlag, SetHeight, SetPageNumber, SetPopupComment, setRect, SetWidth, SetX, SetY
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