@hatiolab/things-scene 3.2.8 → 3.2.10
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/package.json +1 -1
- package/things-scene.d.ts +3 -3
- package/things-scene.mjs +1 -1
package/package.json
CHANGED
package/things-scene.d.ts
CHANGED
|
@@ -292,6 +292,7 @@ declare module '@hatiolab/things-scene' {
|
|
|
292
292
|
): () => string | undefined
|
|
293
293
|
static reposition(component: Component): void
|
|
294
294
|
static registerDecorator(name: string, decorator: Decorator): void
|
|
295
|
+
static createCanvas(width: number, height: number): HTMLCanvasElement
|
|
295
296
|
|
|
296
297
|
state: Properties
|
|
297
298
|
bounds: BOUNDS
|
|
@@ -352,10 +353,9 @@ declare module '@hatiolab/things-scene' {
|
|
|
352
353
|
clearCache(): void
|
|
353
354
|
|
|
354
355
|
prepareIf(boolean)
|
|
355
|
-
createCanvas(width: number, height: number)
|
|
356
356
|
mutatePath(
|
|
357
|
-
beforeLogic
|
|
358
|
-
afterLogic
|
|
357
|
+
beforeLogic: ((path: Array<DIMENSION>) => void) | null,
|
|
358
|
+
afterLogic: ((path: Array<DIMENSION>) => void) | null,
|
|
359
359
|
context?: any
|
|
360
360
|
)
|
|
361
361
|
|