mxdraw 0.1.198 → 0.1.200
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 +5 -0
- 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
|
@@ -1072,10 +1072,13 @@ declare class MxDynamicInput {
|
|
|
1072
1072
|
mValue2: string;
|
|
1073
1073
|
mValue2Pos: number[];
|
|
1074
1074
|
misShow: boolean;
|
|
1075
|
+
focusIndex: number;
|
|
1075
1076
|
mOnKeydownEvent: ((arg0: any) => void) | undefined;
|
|
1076
1077
|
mFocusValue: string;
|
|
1077
1078
|
setFocusValue: (value: string) => void;
|
|
1078
1079
|
getFocusValue: () => string;
|
|
1080
|
+
getFocusIndex: () => number;
|
|
1081
|
+
setFocusIndex: (index: number) => void;
|
|
1079
1082
|
mountKeydownEvent: (fun: ((arg0: any) => void) | undefined) => void;
|
|
1080
1083
|
onKeydown: (keyCode: any) => void;
|
|
1081
1084
|
setType: (type: number) => void;
|
|
@@ -2595,6 +2598,7 @@ declare class MxDrawObject extends Node<MxDrawEvents, Node<any, any>> {
|
|
|
2595
2598
|
* ```
|
|
2596
2599
|
*/
|
|
2597
2600
|
cadCoord2Doc(x: number, y: number, z: number): THREE.Vector3;
|
|
2601
|
+
cadCoord2Doc2(pt: THREE.Vector3): THREE.Vector3;
|
|
2598
2602
|
/**
|
|
2599
2603
|
* 文档坐标坐标到CAD.
|
|
2600
2604
|
* 默认情况下,cad等于doc,当前m_isCorrectLargeCoordinates为true时,doc变成了把cad图纸修改到小范围坐标系下的坐标。
|
|
@@ -2606,6 +2610,7 @@ declare class MxDrawObject extends Node<MxDrawEvents, Node<any, any>> {
|
|
|
2606
2610
|
* ```
|
|
2607
2611
|
*/
|
|
2608
2612
|
docCoord2Cad(x: number, y: number, z: number): THREE.Vector3;
|
|
2613
|
+
docCoord2Cad2(pt: THREE.Vector3): THREE.Vector3;
|
|
2609
2614
|
/**
|
|
2610
2615
|
* 设置视区的旋转角度
|
|
2611
2616
|
* @example
|