mxdraw 0.1.220 → 0.1.221

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
@@ -2313,17 +2313,21 @@ declare class MxDrawObject extends Node<MxDrawEvents, Node<any, any>> {
2313
2313
  */
2314
2314
  getAllMxEntity(): Array<MxDbEntity>;
2315
2315
  /**
2316
- * 设置鼠标中键移动视区。
2317
- * @param iPan 设置是否可以鼠标中键移动视区,
2318
- * iPan = 0,中键不移动视区,左键移动
2319
- * iPan = 1,中键移动视区,左键不移动
2320
- * iPan = 2,中键移动视区,左键移动视区
2321
- * @returns
2322
- * @example
2323
- * ```typescript
2324
- *
2325
- *
2326
- * ```
2316
+ * 设置鼠标中键移动视区。
2317
+ * @param iMethod 设置是否可以鼠标中键移动视区,iMethod= true,iMethod=1
2318
+ * iMethod = 0,中键不移动视区,左键移动
2319
+ * iMethod = 1,中键移动视区,左键不移动
2320
+ * iMethod = 2,中键移动视区,左键移动视区
2321
+ * @returns
2322
+ * @example
2323
+ * ```typescript
2324
+ *
2325
+ *
2326
+ * ```
2327
+ */
2328
+ setViewMovementMethod(iMethod: boolean | number): void;
2329
+ /**
2330
+ * setMouseMiddlePan函数与setViewMovementMethod一样,为了兼容老程序暂没删除,将来会删除
2327
2331
  */
2328
2332
  setMouseMiddlePan(iPan: boolean | number): void;
2329
2333
  /**