dwv 0.35.0-beta.10 → 0.35.0-beta.12
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 +25 -18
- 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
|
@@ -1694,7 +1694,7 @@ export declare class DrawLayer {
|
|
|
1694
1694
|
*/
|
|
1695
1695
|
getDataId(): string;
|
|
1696
1696
|
/**
|
|
1697
|
-
* Get the reference
|
|
1697
|
+
* Get the reference layer id.
|
|
1698
1698
|
*
|
|
1699
1699
|
* @returns {string} The id.
|
|
1700
1700
|
*/
|
|
@@ -3122,6 +3122,12 @@ export declare class LayerGroup {
|
|
|
3122
3122
|
* @returns {number} The number of layers.
|
|
3123
3123
|
*/
|
|
3124
3124
|
getNumberOfViewLayers(): number;
|
|
3125
|
+
/**
|
|
3126
|
+
* Get the active image layer.
|
|
3127
|
+
*
|
|
3128
|
+
* @returns {ViewLayer|DrawLayer|undefined} The layer.
|
|
3129
|
+
*/
|
|
3130
|
+
getActiveLayer(): ViewLayer | DrawLayer | undefined;
|
|
3125
3131
|
/**
|
|
3126
3132
|
* Get the active image layer.
|
|
3127
3133
|
*
|
|
@@ -3134,6 +3140,13 @@ export declare class LayerGroup {
|
|
|
3134
3140
|
* @returns {ViewLayer|undefined} The layer.
|
|
3135
3141
|
*/
|
|
3136
3142
|
getBaseViewLayer(): ViewLayer | undefined;
|
|
3143
|
+
/**
|
|
3144
|
+
* Get a view layer associated to a data id.
|
|
3145
|
+
*
|
|
3146
|
+
* @param {string} id The layer id.
|
|
3147
|
+
* @returns {ViewLayer|undefined} The layer.
|
|
3148
|
+
*/
|
|
3149
|
+
getViewLayerById(id: string): ViewLayer | undefined;
|
|
3137
3150
|
/**
|
|
3138
3151
|
* Get the view layers associated to a data id.
|
|
3139
3152
|
*
|
|
@@ -3160,6 +3173,13 @@ export declare class LayerGroup {
|
|
|
3160
3173
|
* @returns {DrawLayer|undefined} The layer.
|
|
3161
3174
|
*/
|
|
3162
3175
|
getActiveDrawLayer(): DrawLayer | undefined;
|
|
3176
|
+
/**
|
|
3177
|
+
* Get a draw layer associated to a data id.
|
|
3178
|
+
*
|
|
3179
|
+
* @param {string} id The layer id.
|
|
3180
|
+
* @returns {DrawLayer|undefined} The layer.
|
|
3181
|
+
*/
|
|
3182
|
+
getDrawLayerById(id: string): DrawLayer | undefined;
|
|
3163
3183
|
/**
|
|
3164
3184
|
* Get the draw layers associated to a data id.
|
|
3165
3185
|
*
|
|
@@ -3168,30 +3188,17 @@ export declare class LayerGroup {
|
|
|
3168
3188
|
*/
|
|
3169
3189
|
getDrawLayersByDataId(dataId: string): DrawLayer[];
|
|
3170
3190
|
/**
|
|
3171
|
-
* Set the active
|
|
3191
|
+
* Set the active layer.
|
|
3172
3192
|
*
|
|
3173
3193
|
* @param {number} index The index of the layer to set as active.
|
|
3174
3194
|
*/
|
|
3175
|
-
|
|
3176
|
-
/**
|
|
3177
|
-
* Set the active view layer with a data id.
|
|
3178
|
-
*
|
|
3179
|
-
* @param {string} dataId The data id.
|
|
3180
|
-
*/
|
|
3181
|
-
setActiveViewLayerByDataId(dataId: string): void;
|
|
3182
|
-
/**
|
|
3183
|
-
* Set the active draw layer.
|
|
3184
|
-
*
|
|
3185
|
-
* @param {number|undefined} index The index of the layer to set as active
|
|
3186
|
-
* or undefined to not set any.
|
|
3187
|
-
*/
|
|
3188
|
-
setActiveDrawLayer(index: number | undefined): void;
|
|
3195
|
+
setActiveLayer(index: number): void;
|
|
3189
3196
|
/**
|
|
3190
|
-
* Set the active
|
|
3197
|
+
* Set the active layer with a data id.
|
|
3191
3198
|
*
|
|
3192
3199
|
* @param {string} dataId The data id.
|
|
3193
3200
|
*/
|
|
3194
|
-
|
|
3201
|
+
setActiveLayerByDataId(dataId: string): void;
|
|
3195
3202
|
/**
|
|
3196
3203
|
* Add a view layer.
|
|
3197
3204
|
*
|