dwv 0.35.0-beta.1 → 0.35.0-beta.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.
package/dist/dwv.d.ts CHANGED
@@ -1918,19 +1918,6 @@ export declare class DrawLayer {
1918
1918
  * @returns {boolean} True if the position was updated.
1919
1919
  */
1920
1920
  setCurrentPosition(position: Point, index?: Index): boolean;
1921
- /**
1922
- * Get the current position group.
1923
- *
1924
- * @returns {Konva.Group|undefined} The Konva.Group.
1925
- */
1926
- getCurrentPosGroup(): Konva.Group | undefined;
1927
- /**
1928
- * Get a Konva group using its id.
1929
- *
1930
- * @param {string} id The group id.
1931
- * @returns {object|undefined} The Konva group.
1932
- */
1933
- getGroup(id: string): object | undefined;
1934
1921
  /**
1935
1922
  * Add an event listener to this class.
1936
1923
  *
@@ -3565,7 +3552,7 @@ export declare class MaskSegmentViewHelper {
3565
3552
  removeFromHidden(segmentNumber: number): void;
3566
3553
  /**
3567
3554
  * @callback alphaFn@callback alphaFn
3568
- * @param {number} value The pixel value.
3555
+ * @param {number|number[]} value The pixel value.
3569
3556
  * @param {number} index The values' index.
3570
3557
  * @returns {number} The opacity of the input value.
3571
3558
  */
@@ -3574,7 +3561,7 @@ export declare class MaskSegmentViewHelper {
3574
3561
  *
3575
3562
  * @returns {alphaFn} The corresponding alpha function.
3576
3563
  */
3577
- getAlphaFunc(): (value: number, index: number) => number;
3564
+ getAlphaFunc(): (value: number | number[], index: number) => number;
3578
3565
  #private;
3579
3566
  }
3580
3567