Freehand Mouse Tool

How to set up the FreehandMouse tool:

// Init cornerstone tools
cornerstoneTools.init();

// Enable any elements, and display images
// ...

// Add our tool, and set it's mode
const FreehandMouseTool = cornerstoneTools.FreehandMouseTool;

cornerstoneTools.addTool(FreehandMouseTool)
cornerstoneTools.setToolActive('FreehandMouse', { mouseButtonMask: 1 })