mxdraw 0.1.227 → 0.1.229

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/mxdraw.d.ts CHANGED
@@ -571,7 +571,7 @@ declare abstract class MxDbEntity extends RenderOrderNode<EntityEvent, MxDbEntit
571
571
  userData: {
572
572
  [key: string]: any;
573
573
  };
574
- sGuid: string;
574
+ protected sGuid: string;
575
575
  dLineWidth: number;
576
576
  lineWidthByPixels: boolean;
577
577
  dDashArray: number;
@@ -852,6 +852,11 @@ declare abstract class MxDbEntity extends RenderOrderNode<EntityEvent, MxDbEntit
852
852
  * @returns string
853
853
  */
854
854
  guid(): string;
855
+ /**
856
+ * 修改唯一标识guid
857
+ * @returns string
858
+ */
859
+ setGuid(val: string): string;
855
860
  /**
856
861
  * 添加一个事件处理
857
862
  * @returns void
@@ -2266,7 +2271,7 @@ declare class MxDrawObject extends Node<MxDrawEvents, Node<any, any>> {
2266
2271
  */
2267
2272
  getMxCADCurrentSelect(): Array<number>;
2268
2273
  /**
2269
- * 把对象添加到当前选择中.
2274
+ * 把mxdraw对象添加到当前选择集中
2270
2275
  * @returns void
2271
2276
  * @example
2272
2277
  * ```typescript
@@ -2275,6 +2280,16 @@ declare class MxDrawObject extends Node<MxDrawEvents, Node<any, any>> {
2275
2280
  * ```
2276
2281
  */
2277
2282
  addMxCurrentSelect(id: number): void;
2283
+ /**
2284
+ * 把MxCAD对象添加到当前选择中.
2285
+ * @returns void
2286
+ * @example
2287
+ * ```typescript
2288
+ *
2289
+ *
2290
+ * ```
2291
+ */
2292
+ addMxCADCurrentSelect(id: number): void;
2278
2293
  /**
2279
2294
  * 清除当前所有选择
2280
2295
  * @returns void