dwv 0.34.0-beta.19 → 0.34.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 +6 -6
- 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
|
@@ -1905,10 +1905,10 @@ export declare class DrawLayer {
|
|
|
1905
1905
|
* Set the current position.
|
|
1906
1906
|
*
|
|
1907
1907
|
* @param {Point} position The new position.
|
|
1908
|
-
* @param {Index} index
|
|
1908
|
+
* @param {Index} [index] Optional coresponding index.
|
|
1909
1909
|
* @returns {boolean} True if the position was updated.
|
|
1910
1910
|
*/
|
|
1911
|
-
setCurrentPosition(position: Point, index
|
|
1911
|
+
setCurrentPosition(position: Point, index?: Index): boolean;
|
|
1912
1912
|
/**
|
|
1913
1913
|
* Get the current position group.
|
|
1914
1914
|
*
|
|
@@ -1990,11 +1990,11 @@ export declare class DrawShapeHandler {
|
|
|
1990
1990
|
/**
|
|
1991
1991
|
* Add shape group listeners.
|
|
1992
1992
|
*
|
|
1993
|
-
* @param {DrawLayer} drawLayer The origin draw layer.
|
|
1994
1993
|
* @param {Konva.Group} shapeGroup The shape group to set on.
|
|
1995
1994
|
* @param {Annotation} annotation The associated annotation.
|
|
1995
|
+
* @param {DrawLayer} drawLayer The origin draw layer.
|
|
1996
1996
|
*/
|
|
1997
|
-
|
|
1997
|
+
addShapeGroupListeners(shapeGroup: Konva.Group, annotation: Annotation, drawLayer: DrawLayer): void;
|
|
1998
1998
|
/**
|
|
1999
1999
|
* Remove shape group listeners.
|
|
2000
2000
|
*
|
|
@@ -5136,11 +5136,11 @@ export declare class View {
|
|
|
5136
5136
|
* Set the current position.
|
|
5137
5137
|
*
|
|
5138
5138
|
* @param {Point} position The new position.
|
|
5139
|
-
* @param {boolean} silent Flag to fire event or not.
|
|
5139
|
+
* @param {boolean} [silent] Flag to fire event or not.
|
|
5140
5140
|
* @returns {boolean} False if not in bounds.
|
|
5141
5141
|
* @fires View#positionchange
|
|
5142
5142
|
*/
|
|
5143
|
-
setCurrentPosition(position: Point, silent
|
|
5143
|
+
setCurrentPosition(position: Point, silent?: boolean): boolean;
|
|
5144
5144
|
/**
|
|
5145
5145
|
* Set the current index.
|
|
5146
5146
|
*
|