mxdraw 0.1.228 → 0.1.230
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 +24 -7
- package/dist/mxdraw.esm.js +1 -1
- package/dist/mxdraw.umd.js +1 -1
- package/package.json +1 -1
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
|
|
@@ -2076,12 +2081,14 @@ declare class MxDrawObject extends Node<MxDrawEvents, Node<any, any>> {
|
|
|
2076
2081
|
*/
|
|
2077
2082
|
setIniset(options: iniConfig): void;
|
|
2078
2083
|
/**
|
|
2079
|
-
*
|
|
2080
|
-
* @returns {
|
|
2084
|
+
* 返回当前视区的显示范围,cad坐标。
|
|
2085
|
+
* @returns {pt1:THREE.Vector3,pt2:THREE.Vector3,pt3:THREE.Vector3,pt4:THREE.Vector3}
|
|
2081
2086
|
*/
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2087
|
+
getViewDocCoord(): {
|
|
2088
|
+
pt1: THREE.Vector3;
|
|
2089
|
+
pt2: THREE.Vector3;
|
|
2090
|
+
pt3: THREE.Vector3;
|
|
2091
|
+
pt4: THREE.Vector3;
|
|
2085
2092
|
};
|
|
2086
2093
|
/**
|
|
2087
2094
|
* 屏幕坐标到ThreeJS坐标
|
|
@@ -2266,7 +2273,7 @@ declare class MxDrawObject extends Node<MxDrawEvents, Node<any, any>> {
|
|
|
2266
2273
|
*/
|
|
2267
2274
|
getMxCADCurrentSelect(): Array<number>;
|
|
2268
2275
|
/**
|
|
2269
|
-
*
|
|
2276
|
+
* 把mxdraw对象添加到当前选择集中
|
|
2270
2277
|
* @returns void
|
|
2271
2278
|
* @example
|
|
2272
2279
|
* ```typescript
|
|
@@ -2275,6 +2282,16 @@ declare class MxDrawObject extends Node<MxDrawEvents, Node<any, any>> {
|
|
|
2275
2282
|
* ```
|
|
2276
2283
|
*/
|
|
2277
2284
|
addMxCurrentSelect(id: number): void;
|
|
2285
|
+
/**
|
|
2286
|
+
* 把MxCAD对象添加到当前选择中.
|
|
2287
|
+
* @returns void
|
|
2288
|
+
* @example
|
|
2289
|
+
* ```typescript
|
|
2290
|
+
*
|
|
2291
|
+
*
|
|
2292
|
+
* ```
|
|
2293
|
+
*/
|
|
2294
|
+
addMxCADCurrentSelect(id: number): void;
|
|
2278
2295
|
/**
|
|
2279
2296
|
* 清除当前所有选择
|
|
2280
2297
|
* @returns void
|