Class Tools.TextAnnotationCreateTool
Extends
Tools.TextTool.
Represents an abstract class for text-based annotation creation tools.
Constructor Attributes | Constructor Name and Description |
---|---|
Tools.TextAnnotationCreateTool(docViewer, textAnnotationPrototype)
This class should not be instantiated.
|
- Fields borrowed from class Tools.TextTool:
- SELECTION_MODE
- Fields borrowed from class Tools.Tool:
- docViewer, pageCoordinates
- Methods borrowed from class Tools.TextTool:
- select
- Methods borrowed from class Tools.Tool:
- getDocumentViewer
- Events borrowed from class Tools.TextTool:
- textSelected
- Events borrowed from class Tools.Tool:
- contextMenu, keyDown, mouseDoubleClick, mouseLeftDown, mouseLeftUp, mouseMove, switchIn, switchOut
Class Detail
Tools.TextAnnotationCreateTool(docViewer, textAnnotationPrototype)
This class should not be instantiated.
- Parameters:
- {CoreControls.DocumentViewer} docViewer
- an instance of DocumentViewer.
- {Annotations.Annotation} textAnnotationPrototype
- the prototype the text-based annotation to create.