Class Index

Classes


Class Annotations.MarkupAnnotation


Extends Annotations.Annotation.
Represents an extendable Markup annotation. These annotations may optionally include a fill color, stroke color, and stroke thickness.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a new instance of MarkupAnnotation.
Field Summary
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, NoMove, NoResize, NoRotate, NoZoom, PageNumber, Subject, Width, X, Y
Method Summary
Method Attributes Method Name and Description
 
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, GetPopupComment, getRect, getRectPadding, getReplies, GetRight, GetTop, GetWidth, GetX, GetY, isReply, resize, serialize, setContents, SetCustom, setFlag, SetHeight, SetPageNumber, SetPopupComment, setRect, SetWidth, SetX, SetY
Class Detail
Annotations.MarkupAnnotation()
Creates a new instance of MarkupAnnotation.
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

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Apr 20 2015 14:53:04 GMT-0700 (PDT)