cornerstone-tools-rotated-elliptical-roi-mouse-touch-tool
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Modified cornerstoneTools-RotatedEllipticalRoiTool for touch event

(forked from https://github.com/sisobus/cornerstoneTools-RotatedEllipticalRoiTool)


cornerstoneTools-RotatedEllipticalRoiTool

An annotation tool of drawing rotated elliptical roi. It is 3rd party library of cornerstoneTools.
You can try to test this tool in here

Demo

Installation

$ yarn add cornerstone-tools-rotated-elliptical-roi-mouse-touch-tool

or

$ npm i cornerstone-tools-rotated-elliptical-roi-mouse-touch-tool

This library has dependencies below

Examples

browser example

<script src="../dist/rotated-elliptical-roi-tool.umd.js"></script>
<script>
  cornerstoneTools.init({
    showSVGCursors: true,
  });
  cornerstoneTools.addTool(RotatedEllipticalRoiTool);
  cornerstoneTools.setToolActive("RotatedEllipticalRoi", { mouseButtonMask: 1 });
</script>

node example

import RotatedEllipticalRoiTool from "cornerstone-tools-rotated-elliptical-roi-tool";
cornerstoneTools.init({
  showSVGCursors: true,
})
cornerstoneTools.addTool(RotatedEllipticalRoiTool)
cornerstoneTools.setToolActive("RotatedEllipticalRoi", {
  mouseButtonMask: 1,
})

LICENSE

MIT

Package Sidebar

Install

npm i cornerstone-tools-rotated-elliptical-roi-mouse-touch-tool

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

335 kB

Total Files

37

Last publish

Collaborators

  • ryuzero