Constructor
The `EllipseToolbar` class provides a user interface toolbar for the ellipse annotation tool. It inherits from the `AnnotationUIToolbarBase` class and includes methods to configure, enable, and update instructions for the ellipse tool.
Parameters:
Name |
Type |
Description |
paperScope |
paper.PaperScope
|
The Paper.js PaperScope instance. |
Properties:
Name |
Type |
Description |
tool |
paper.Tool
|
The Paper.js tool instance for handling mouse events. |
toolLayer |
paper.Layer
|
The Paper.js project's tool layer where the crosshairTool is added. |
mode |
string
|
null
|
The current mode of the Ellipse Tool.
Possible values are 'creating', 'segment-drag', 'modifying', or null. |
creating |
paper.Path.Ellipse
|
null
|
The currently active ellipse being created or modified. |
toolbarControl |
EllipseToolbar
|
The EllipseToolbar instance associated with this EllipseTool. |
- Source: