larvitar 2.4.2 → 2.4.4

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/README.md CHANGED
@@ -8,9 +8,9 @@
8
8
 
9
9
  ## Dicom Image Toolkit for CornerstoneJS
10
10
 
11
- ### Current version: 2.4.2
11
+ ### Current version: 2.4.4
12
12
 
13
- ### Latest Published Release: 2.4.2
13
+ ### Latest Published Release: 2.4.4
14
14
 
15
15
  This library provides common DICOM functionalities to be used in web-applications: it's wrapper that simplifies the use of cornerstone-js environment.
16
16
 
@@ -18,6 +18,8 @@ interface Handles {
18
18
  start: HandlePosition;
19
19
  end: HandlePosition;
20
20
  offset: number;
21
+ fixedoffset: number;
22
+ color: string;
21
23
  textBox?: {
22
24
  active: boolean;
23
25
  hasMoved: boolean;
@@ -70,9 +72,9 @@ interface PlotlyData {
70
72
  export default class LengthPlotTool extends BaseAnnotationTool {
71
73
  name: string;
72
74
  eventData?: EventData;
73
- datahandles?: Handles;
74
- abovehandles?: Handles;
75
- belowhandles?: Handles;
75
+ datahandles?: Handles | null;
76
+ abovehandles?: Handles | null;
77
+ belowhandles?: Handles | null;
76
78
  plotlydata: Array<PlotlyData>;
77
79
  measuring: boolean;
78
80
  throttledUpdateCachedStats: any;
@@ -135,6 +137,7 @@ export default class LengthPlotTool extends BaseAnnotationTool {
135
137
  hasBoundingBox: boolean;
136
138
  };
137
139
  offset: number;
140
+ fixedoffset: number;
138
141
  };
139
142
  } | undefined;
140
143
  /**