dwv 0.33.0-beta.19 → 0.33.0-beta.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dwv.d.ts CHANGED
@@ -1547,6 +1547,14 @@ export declare function getEllipseIndices(center: Index, radius: number[], dir:
1547
1547
  */
1548
1548
  export declare function getLayerDetailsFromEvent(event: object): object;
1549
1549
 
1550
+ /**
1551
+ * Get the offset of an input mouse event.
1552
+ *
1553
+ * @param {object} event The event to get the offset from.
1554
+ * @returns {Point2D} The 2D point.
1555
+ */
1556
+ export declare function getMousePoint(event: object): Point2D;
1557
+
1550
1558
  /**
1551
1559
  * Get the name of an image orientation patient.
1552
1560
  *
@@ -1578,6 +1586,14 @@ export declare function getReverseOrientation(ori: string): string;
1578
1586
  */
1579
1587
  export declare function getTagFromKey(key: string): Tag;
1580
1588
 
1589
+ /**
1590
+ * Get the offsets of an input touch event.
1591
+ *
1592
+ * @param {object} event The event to get the offset from.
1593
+ * @returns {Point2D[]} The array of points.
1594
+ */
1595
+ export declare function getTouchPoints(event: object): Point2D[];
1596
+
1581
1597
  /**
1582
1598
  * Get the appropriate TypedArray in function of arguments.
1583
1599
  *