mxdraw 0.1.353 → 0.1.355

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
@@ -1798,7 +1798,7 @@ interface iniConfig {
1798
1798
  EnableIntelliSelect?: boolean;
1799
1799
  /** 启动O 捕捉功能 */
1800
1800
  EnableOsnapFunction?: boolean;
1801
- /** 启动夹点编辑,true,1表示启用,0,fase表示禁用,2表示只显示夹点,但响应夹点编辑. */
1801
+ /** 启动夹点编辑,true,1表示启用,0,fase表示禁用,2表示只显示夹点,但不响应夹点编辑. */
1802
1802
  EnableGripEdit?: boolean | number;
1803
1803
  /** 启动多选,框选功能,默认值是false */
1804
1804
  multipleSelect?: boolean;
@@ -3687,6 +3687,29 @@ declare enum UserInputControls {
3687
3687
  /** 接受空格输入 */
3688
3688
  kSpacesInAccepted = 16384
3689
3689
  }
3690
+ declare enum AcquirePointOsnapMode {
3691
+ kOsModekInValid = 0,
3692
+ kOsModeEnd = 1,
3693
+ kOsModeMid = 2,
3694
+ kOsModeCen = 3,
3695
+ kOsModeNode = 4,
3696
+ kOsModeQuad = 5,
3697
+ kOsModeIns = 7,
3698
+ kOsModePerp = 8,
3699
+ kOsModeTan = 9,
3700
+ kOsModeNear = 10,
3701
+ kOsModeInt = 11
3702
+ }
3703
+ declare enum AcquirePointType {
3704
+ kAPTValid = 0,
3705
+ kAPTOsnap = 1,
3706
+ kAPTDynamicTrace = 2,
3707
+ kAPTCommandStringIn = 4,
3708
+ kAPTPolarAxisTrace = 5,
3709
+ kAPTOrtho = 6,
3710
+ kAPTGridTrace = 7,
3711
+ kAPTLockDynIn = 8
3712
+ }
3690
3713
  declare class MrxDbgUiPrBase {
3691
3714
  protected imp: any;
3692
3715
  protected status: MrxDbgUiPrBaseReturn;
@@ -3744,6 +3767,14 @@ declare class MrxDbgUiPrBase {
3744
3767
  * 返回交互操作退出的详细原因
3745
3768
  */
3746
3769
  getDetailedResult(): DetailedResult;
3770
+ /**
3771
+ * 返回交互取点操作得到的点类型
3772
+ */
3773
+ getResultPointType(): AcquirePointType;
3774
+ /**
3775
+ * 返回交互取点操作得到的点的捕捉类型
3776
+ */
3777
+ getResultPointOsnapMode(): AcquirePointOsnapMode;
3747
3778
  getStatus(): MrxDbgUiPrBaseReturn;
3748
3779
  /**
3749
3780
  * 把动态绘制的对象,保留到图上。
@@ -5632,6 +5663,10 @@ type Mx_MxCursorType = MxCursorType;
5632
5663
  declare const Mx_MxCursorType: typeof MxCursorType;
5633
5664
  type Mx_DetailedResult = DetailedResult;
5634
5665
  declare const Mx_DetailedResult: typeof DetailedResult;
5666
+ type Mx_AcquirePointType = AcquirePointType;
5667
+ declare const Mx_AcquirePointType: typeof AcquirePointType;
5668
+ type Mx_AcquirePointOsnapMode = AcquirePointOsnapMode;
5669
+ declare const Mx_AcquirePointOsnapMode: typeof AcquirePointOsnapMode;
5635
5670
  type Mx_DynamicInputType = DynamicInputType;
5636
5671
  declare const Mx_DynamicInputType: typeof DynamicInputType;
5637
5672
  type Mx_UserInputControls = UserInputControls;
@@ -5711,6 +5746,8 @@ declare namespace Mx {
5711
5746
  Mx_MrxDbgUiPrBase as MrxDbgUiPrBase,
5712
5747
  Mx_MxCursorType as MxCursorType,
5713
5748
  Mx_DetailedResult as DetailedResult,
5749
+ Mx_AcquirePointType as AcquirePointType,
5750
+ Mx_AcquirePointOsnapMode as AcquirePointOsnapMode,
5714
5751
  Mx_DynamicInputType as DynamicInputType,
5715
5752
  Mx_UserInputControls as UserInputControls,
5716
5753
  Mx_MrxDbgUiPrDist as MrxDbgUiPrDist,
@@ -5729,4 +5766,4 @@ declare global {
5729
5766
  }
5730
5767
  }
5731
5768
 
5732
- export { DetailedResult, DynamicInputType, Layer, McEdGetPointWorldDrawObject, McGePoint3d, McGePoint3dArray, McGeTool, McGiWorldDraw, McGiWorldDrawType, MrxDbgUiPrAngle, MrxDbgUiPrBase, MrxDbgUiPrBaseReturn, MrxDbgUiPrDist, MrxDbgUiPrInt, MrxDbgUiPrKeyWord, MrxDbgUiPrPoint, MrxDbgUiPrString, MrxDbgUtils, Mx2PointArc, Mx3PointArc, MxCursorType, MxDb2LineAngularDimension, MxDbAlignedDimension, MxDbAnyLine, MxDbArcShapeDraw, MxDbArea, MxDbArrow, MxDbCircleArc, MxDbCircleShape, MxDbCloudLine, MxDbCoord, MxDbDatabase, MxDbEllipse, MxDbEllipseArc, MxDbEllipseShape, MxDbEntity, MxDbGradientLine, MxDbGroup, MxDbHatch, MxDbImage, MxDbLayerTableRecord, MxDbLeadComment, MxDbLeadTag, MxDbLine, MxDbLineShape, MxDbPolyline, MxDbRect, MxDbRectBoxLeadComment, MxDbRegularPolygon, MxDbRegularPolygonShape, MxDbRingShape, MxDbSVG, MxDbSVGText, MxDbShape, MxDbSplineCurve, MxDbStarShape, MxDbText, MxDrawObject, MxFilters, MxFun, MxPaintBrush, MxTempMarkDraw, MxThreeJS, MxType, Mxassembly, UserInputControls, Mx as default, loadCoreCode, store, useCanvasResizeListener };
5769
+ export { AcquirePointOsnapMode, AcquirePointType, DetailedResult, DynamicInputType, Layer, McEdGetPointWorldDrawObject, McGePoint3d, McGePoint3dArray, McGeTool, McGiWorldDraw, McGiWorldDrawType, MrxDbgUiPrAngle, MrxDbgUiPrBase, MrxDbgUiPrBaseReturn, MrxDbgUiPrDist, MrxDbgUiPrInt, MrxDbgUiPrKeyWord, MrxDbgUiPrPoint, MrxDbgUiPrString, MrxDbgUtils, Mx2PointArc, Mx3PointArc, MxCursorType, MxDb2LineAngularDimension, MxDbAlignedDimension, MxDbAnyLine, MxDbArcShapeDraw, MxDbArea, MxDbArrow, MxDbCircleArc, MxDbCircleShape, MxDbCloudLine, MxDbCoord, MxDbDatabase, MxDbEllipse, MxDbEllipseArc, MxDbEllipseShape, MxDbEntity, MxDbGradientLine, MxDbGroup, MxDbHatch, MxDbImage, MxDbLayerTableRecord, MxDbLeadComment, MxDbLeadTag, MxDbLine, MxDbLineShape, MxDbPolyline, MxDbRect, MxDbRectBoxLeadComment, MxDbRegularPolygon, MxDbRegularPolygonShape, MxDbRingShape, MxDbSVG, MxDbSVGText, MxDbShape, MxDbSplineCurve, MxDbStarShape, MxDbText, MxDrawObject, MxFilters, MxFun, MxPaintBrush, MxTempMarkDraw, MxThreeJS, MxType, Mxassembly, UserInputControls, Mx as default, loadCoreCode, store, useCanvasResizeListener };