🚧 Under Construction 🚧

This example is not yet complete. Please feel free to submit a pull request to add this example to our docs! If you need help getting started, reach out in our GitHub Issues.

Zoom TouchPinch Tool

How to set up the ZoomTouchPinch tool:

// Init cornerstone tools

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

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

cornerstoneTools.setToolActive('ZoomTouchPinch', { mouseButtonMask: 1 })