dwv 0.34.0-beta.13 → 0.34.0-beta.14
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 +8 -0
- package/dist/dwv.min.js +1 -1
- package/dist/dwv.min.js.map +1 -1
- package/package.json +1 -1
package/dist/dwv.d.ts
CHANGED
|
@@ -1644,6 +1644,14 @@ export declare class DrawLayer {
|
|
|
1644
1644
|
* @param {Point3D} [center] The scale center.
|
|
1645
1645
|
*/
|
|
1646
1646
|
setScale(newScale: Scalar3D, center?: Point3D): void;
|
|
1647
|
+
/**
|
|
1648
|
+
* Initialise the layer scale.
|
|
1649
|
+
*
|
|
1650
|
+
* @param {Scalar3D} newScale The scale as {x,y,z}.
|
|
1651
|
+
* @param {Scalar2D} absoluteZoomOffset The zoom offset as {x,y}
|
|
1652
|
+
* without the fit scale (as provided by getAbsoluteZoomOffset).
|
|
1653
|
+
*/
|
|
1654
|
+
initScale(newScale: Scalar3D, absoluteZoomOffset: Scalar2D): void;
|
|
1647
1655
|
/**
|
|
1648
1656
|
* Set the layer offset.
|
|
1649
1657
|
*
|