OptionalonTool left button down event callback.
User-supplied data that was passed
The page view object associated with the tool
Additional flags for the mouse event.
The device point where the event occurred.
Returns true if the event was handled, false otherwise.
OptionalonTool left button up event callback.
User-supplied data that was passed
The page view object associated with the tool
Additional flags for the mouse event.
The device point where the event occurred.
Returns true if the event was handled, false otherwise.
ToolJsCallbacksType defines the callbacks for tool-related events in the JavaScript engine.
Example