larvitar 3.8.1 → 3.8.3
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.
|
@@ -111,19 +111,19 @@ export declare const resizeViewport: (elementId: string | HTMLElement) => void;
|
|
|
111
111
|
* Check if the displayed image is anisotropic (row pixel spacing !== col pixel spacing)
|
|
112
112
|
* @instance
|
|
113
113
|
* @function isAnisotropic
|
|
114
|
-
* @param {String}
|
|
114
|
+
* @param {String | StoreViewport} idOrViewport - The html div id or the viewport used for rendering
|
|
115
115
|
* @returns {Boolean}
|
|
116
116
|
*/
|
|
117
|
-
export declare
|
|
117
|
+
export declare function isAnisotropic(idOrViewport: string | StoreViewport): boolean;
|
|
118
118
|
/**
|
|
119
119
|
* Retrieves Anisotropic Viewport displayedArea properties
|
|
120
120
|
* @instance
|
|
121
121
|
* @function getAnisotropicDisplayedArea
|
|
122
122
|
* @param {String} elementId - The html div id used for rendering or its DOM HTMLElement
|
|
123
|
-
* @param {ViewportComplete} viewport - The viewport
|
|
123
|
+
* @param {ViewportComplete | StoreViewport} viewport - The viewport
|
|
124
124
|
* @returns {DisplayedArea}
|
|
125
125
|
*/
|
|
126
|
-
export declare const getAnisotropicDisplayedArea: (id: string, viewport: ViewportComplete) => DisplayedArea | undefined;
|
|
126
|
+
export declare const getAnisotropicDisplayedArea: (id: string, viewport: ViewportComplete | StoreViewport) => DisplayedArea | undefined;
|
|
127
127
|
/**
|
|
128
128
|
* Cache image and render it in a html div using cornerstone
|
|
129
129
|
* @instance
|