@meta2d/core 1.0.18 → 1.0.20

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/src/core.d.ts CHANGED
@@ -76,7 +76,9 @@ export declare class Meta2d {
76
76
  ruleColor?: string;
77
77
  }): void;
78
78
  open(data?: Meta2dData, render?: boolean): void;
79
+ cacheMeta2dData(data?: Meta2dData): void;
79
80
  initBindDatas(): void;
81
+ initBinds(): void;
80
82
  connectSocket(): void;
81
83
  /**
82
84
  * open 后执行初始化 Js ,每个图纸可配置一个初始化 js
@@ -334,6 +336,7 @@ export declare class Meta2d {
334
336
  * @param pen 画笔
335
337
  */
336
338
  upByArea(pen: Pen): void;
339
+ specificLayerMove(pen: Pen, type: string): void;
337
340
  /**
338
341
  * 该画笔上移,即把该画笔在数组中的位置向后移动一个
339
342
  * @param pens 画笔