@hatiolab/things-scene 3.0.36 → 3.0.38

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hatiolab/things-scene",
3
- "version": "3.0.36",
3
+ "version": "3.0.38",
4
4
  "description": "2D graphic library",
5
5
  "main": "src/index.js",
6
6
  "module": "things-scene.mjs",
package/things-scene.d.ts CHANGED
@@ -279,18 +279,18 @@ declare module '@hatiolab/things-scene' {
279
279
 
280
280
  state: Properties
281
281
  bounds: BOUNDS
282
- textBounds: BOUNDS
283
282
  root: RootContainer
284
283
  rootModel: ModelLayer
285
284
  parent: Container
286
285
  app: ApplicationContext
287
- model: Model
288
- hierarchy: Model
289
286
  path: Array<DIMENSION>
290
287
  hidden: boolean
291
288
 
292
289
  get nature(): ComponentNature
293
290
 
291
+ get model(): Model
292
+ get hierarchy(): Model
293
+
294
294
  get font(): string
295
295
 
296
296
  get data(): any
@@ -302,6 +302,8 @@ declare module '@hatiolab/things-scene' {
302
302
  get text(): string
303
303
  set text(text: string)
304
304
 
305
+ get textBounds(): BOUNDS
306
+
305
307
  get center(): POINT
306
308
  set center(point: POINT)
307
309