Class: PointTextTool

OSDPaperjsAnnotation.PointTextTool(paperScope)

The PointTextTool class empowers the annotation UI with the ability to add point-based text annotations. This class extends the AnnotationUITool and is paired with the PointTextToolbar for interactive control.

Constructor

new PointTextTool(paperScope)

Initialize the PointTextTool with Paper.js scope, cursor representation, and toolbar controls.
Parameters:
Name Type Description
paperScope paper.PaperScope The Paper.js scope for the tool.
Properties:
Name Type Description
cursor paper.PointText The visual representation of the text cursor.
Source:

Classes

PointTextToolbar