Class Annotations.LineSelectionModel
Extends
Annotations.SelectionModel.
Constructor Attributes | Constructor Name and Description |
---|---|
Annotations.LineSelectionModel(annotation, canModify, isSelected)
A selection model for LineAnnotation
|
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