@hatiolab/things-scene 3.2.6 → 3.2.7
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/attachments/21dc8eed-1623-486e-b00b-4453db79a120.gif +0 -0
- package/db.sqlite +0 -0
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +3 -13
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +6 -6
- package/logs/application-2023-02-15-22.log +12 -0
- package/logs/connections-2023-02-08-11.log +70 -0
- package/logs/connections-2023-02-15-22.log +70 -0
- package/package.json +2 -1
- package/things-scene-ie.js +1 -1
- package/things-scene-min.js +1 -1
- package/things-scene.d.ts +12 -1
- package/things-scene.mjs +2 -2
- package/logs/application-2023-01-06-19.log +0 -10
- package/logs/application-2023-01-06-20.log +0 -1
- package/logs/application-2023-01-06-21.log +0 -6
- package/logs/connections-2023-01-06-19.log +0 -35
- package/logs/connections-2023-01-06-21.log +0 -35
package/things-scene.d.ts
CHANGED
|
@@ -299,7 +299,6 @@ declare module '@hatiolab/things-scene' {
|
|
|
299
299
|
rootModel: ModelLayer
|
|
300
300
|
parent: Container
|
|
301
301
|
app: ApplicationContext
|
|
302
|
-
path: Array<DIMENSION>
|
|
303
302
|
hidden: boolean
|
|
304
303
|
|
|
305
304
|
get nature(): ComponentNature
|
|
@@ -321,6 +320,9 @@ declare module '@hatiolab/things-scene' {
|
|
|
321
320
|
get textBounds(): BOUNDS
|
|
322
321
|
get textRotation(): number
|
|
323
322
|
|
|
323
|
+
get path(): Array<DIMENSION>
|
|
324
|
+
set path(path: Array<DIMENSION>)
|
|
325
|
+
|
|
324
326
|
get center(): POINT
|
|
325
327
|
set center(point: POINT)
|
|
326
328
|
|
|
@@ -349,8 +351,17 @@ declare module '@hatiolab/things-scene' {
|
|
|
349
351
|
reposition(): void
|
|
350
352
|
clearCache(): void
|
|
351
353
|
|
|
354
|
+
prepareIf(boolean)
|
|
355
|
+
createCanvas(width: number, height: number)
|
|
356
|
+
mutatePath(
|
|
357
|
+
beforeLogic?: (context: CanvasRenderingContext2D | null, path: Array<DIMENSION>) => void,
|
|
358
|
+
afterLogic?: (context: CanvasRenderingContext2D | null, path: Array<DIMENSION>) => void,
|
|
359
|
+
context?: CanvasRenderingContext2D
|
|
360
|
+
)
|
|
361
|
+
|
|
352
362
|
transcoordP2S(x: number, y: number): POSITION
|
|
353
363
|
transcoordC2S(x: number, y: number, top?: RootContainer): POSITION
|
|
364
|
+
transcoordS2T(x: number, y: number): POSITION
|
|
354
365
|
|
|
355
366
|
prerender(context: CanvasRenderingContext2D): void
|
|
356
367
|
render(context: CanvasRenderingContext2D): void
|