Class Annotations.MarkupAnnotation
Extends
Annotations.Annotation.
Represents an extendable Markup annotation. These annotations may optionally include a fill color, stroke color, and stroke thickness.
Constructor Attributes | Constructor Name and Description |
---|---|
Creates a new instance of MarkupAnnotation.
|
Field Attributes | Field Name and Description |
---|---|
Gets or sets the date the annotation was created.
|
|
Gets or sets the color of the annotation's interior.
|
|
Gets or sets the opacity of the annotation.
|
|
The selection model to use when this annotation is selected
|
|
Gets or sets the color of the annotation's stroke.
|
|
Gets or sets the width of the annotation's stroke outline.
|
- 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 |
---|---|
getPopup()
Gets the popup annotation
|
|
setPopup(popup)
Sets the popup annotation
|
|
setStyles(ctx)
Sets the annotation's styles on the canvas context
|
- 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
Field Detail
{Date}
DateCreated
Gets or sets the date the annotation was created.
{Annotations.Color}
FillColor
Gets or sets the color of the annotation's interior.
{number}
Opacity
Gets or sets the opacity of the annotation.
{Annotations.SelectionModel}
selectionModel
The selection model to use when this annotation is selected
{Annotations.Color}
StrokeColor
Gets or sets the color of the annotation's stroke.
{number}
StrokeThickness
Gets or sets the width of the annotation's stroke outline.
Method Detail
{Annotations.PopupAnnotation}
getPopup()
Gets the popup annotation
- Returns:
- {Annotations.PopupAnnotation}
setPopup(popup)
Sets the popup annotation
- Parameters:
- {Annotations.PopupAnnotation} popup
setStyles(ctx)
Sets the annotation's styles on the canvas context
- Parameters:
- {CanvasRenderingContext2D} ctx
- A canvas context