mxdraw 0.1.73 → 0.1.76

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.
@@ -8,6 +8,8 @@ export interface MrxDbgUiPrPointClass {
8
8
  setMessage(message: string): void;
9
9
  keyWordPicked(): string;
10
10
  isKeyWordPicked(matchKeyWord: string): boolean;
11
+ setInputToucheType(toucheType: number): void;
12
+ getInputToucheType(): number;
11
13
  setUserDraw(pDraw: any): void;
12
14
  value(): THREE.Vector3;
13
15
  valueDocCoord(): THREE.Vector3;
@@ -111,4 +113,12 @@ export default class MrxDbgUiPrPoint {
111
113
  * @returns 点对象 DWG图纸坐标
112
114
  */
113
115
  drawReserve(callAddEntity?: (ent: THREE.Object3D) => void): void;
116
+ /**
117
+ * 设置需要的Touche输入类型,默认值是,MxType.InputToucheType.kGetBegan
118
+ */
119
+ setInputToucheType(toucheType: number): void;
120
+ /**
121
+ * 返回需要的Touche输入类型
122
+ */
123
+ getInputToucheType(): number;
114
124
  }
@@ -24,9 +24,20 @@ export declare enum MxDefaultRenderOrder {
24
24
  kGripRenderOrder = 110,
25
25
  kDynJigRenderOrder = 120
26
26
  }
27
+ /**
28
+ * 交互操作,需要的输入的触摸类型.
29
+ * @example ```typescript
30
+
31
+ * ```
32
+ */
33
+ export declare enum InputToucheType {
34
+ kGetBegan = 1,
35
+ kGetEnd = 2
36
+ }
27
37
  declare const _default: {
28
38
  MxCloneType: typeof MxCloneType;
29
39
  MxDefaultRenderOrder: typeof MxDefaultRenderOrder;
40
+ InputToucheType: typeof InputToucheType;
30
41
  };
31
42
  export default _default;
32
43
  export declare type MxColorType = number | string | THREE.Color;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mxdraw",
3
- "version": "0.1.73",
3
+ "version": "0.1.76",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/mxdraw.umd.js",