Class Index

Classes


Class Annotations.LineSelectionModel


Extends Annotations.SelectionModel.

Class Summary
Constructor Attributes Constructor Name and Description
 
Annotations.LineSelectionModel(annotation, canModify, isSelected)
A selection model for LineAnnotation
Method Summary
Method Attributes Method Name and Description
 
drawPopupTail(ctx, annotation, zoom, pinRect, targetPoint)
Draws the popup tail of an annotation's note.
Methods borrowed from class Annotations.SelectionModel:
canModify, drawSelectionOutline, getControlHandles, getDimensions, isSelected, testControlHandles, testSelection
Class Detail
Annotations.LineSelectionModel(annotation, canModify, isSelected)
A selection model for LineAnnotation
Parameters:
{Annotations.Annotation} annotation
the annotation
{boolean} canModify
indicates if the annotation can be modified
isSelected
Method Detail
drawPopupTail(ctx, annotation, zoom, pinRect, targetPoint)
Draws the popup tail of an annotation's note.
Parameters:
{CanvasRenderingContext2D} ctx
The canvas context
{Annotations.Annotation} annotation
The annotation
{number} zoom
The current zoom level
{Annotations.Rect} pinRect
The annotation's bounding rectangle
{Annotations.Point} targetPoint
The location of the note

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Sep 09 2016 14:32:35 GMT-0700 (PDT)