mxdraw 0.1.140 → 0.1.141

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.
@@ -46,7 +46,7 @@ export interface MxDrawObjectType {
46
46
  clearMxCurrentSelect(): boolean;
47
47
  getMxEntityUserObject(id: number): MxDbEntity;
48
48
  findMxEntityAtPoint(ptMouse: THREE.Vector3, isDocCoord?: boolean, retWordDrawXDataCall?: (id: number, data: any) => void): Array<MxDbEntity>;
49
- setMouseMiddlePan(isPan: boolean): void;
49
+ setMouseMiddlePan(isPan: boolean | number): void;
50
50
  resetThreeJSControls(): void;
51
51
  getAllMxEntity(): Array<MxDbEntity>;
52
52
  enableZoom(isEnable: boolean): void;
@@ -558,7 +558,10 @@ export default class MxDrawObject {
558
558
  getAllMxEntity(): Array<MxDbEntity>;
559
559
  /**
560
560
  * 设置鼠标中键移动视区。
561
- * @param isPan 设置是否可以鼠标中键移动视区
561
+ * @param iPan 设置是否可以鼠标中键移动视区,
562
+ * iPan = 0,中键不移动视区,左键移动
563
+ * iPan = 1,中键移动视区,左键不移动
564
+ * iPan = 2,中键移动视区,左键移动视区
562
565
  * @returns
563
566
  * @example
564
567
  * ```typescript
@@ -566,7 +569,7 @@ export default class MxDrawObject {
566
569
  *
567
570
  * ```
568
571
  */
569
- setMouseMiddlePan(isPan: boolean): void;
572
+ setMouseMiddlePan(iPan: boolean | number): void;
570
573
  /**
571
574
  *重新设置ThreeJS Controls状态.
572
575
  * @returns