mxdraw 0.1.287 → 0.1.289

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
@@ -1810,6 +1810,20 @@ interface MxDrawObjectType {
1810
1810
  getViewCenterDocCoord(): THREE.Vector3;
1811
1811
  updateCanvasSize(): void;
1812
1812
  }
1813
+ /**
1814
+ * mxdraw事件
1815
+ * @example
1816
+ * ```typescript
1817
+ * 响应夹点编辑事件
1818
+ * mxcad.mxdraw.on("objectGripEdit",(grips)=>{
1819
+ * grips.forEach((grip)=>{
1820
+ * let id = new McObjectId(grip.id,grip.type == "mxcad" ? McObjectIdType.kMxCAD :McObjectIdType.kMxDraw);
1821
+ * console.log(id.getMcDbEntity());
1822
+ * });
1823
+ * console.log(grips);
1824
+ * })
1825
+ * ```
1826
+ */
1813
1827
  type MxDrawEvents = {
1814
1828
  "loadComplete": () => void;
1815
1829
  "render": () => void;