mxcad 1.0.198 → 1.0.200

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/mxcad.d.ts CHANGED
@@ -614,7 +614,7 @@ export declare class McGePoint3dArray {
614
614
  /**
615
615
  * 整数数组
616
616
  */
617
- export declare class MdGeDoubleArray {
617
+ export declare class McGeDoubleArray {
618
618
  imp: any;
619
619
  /**
620
620
  * 构造函数。
@@ -623,7 +623,7 @@ export declare class MdGeDoubleArray {
623
623
  /**
624
624
  * 复制对象的值
625
625
  */
626
- copy(val: MdGeDoubleArray): this;
626
+ copy(val: McGeDoubleArray): this;
627
627
  /**
628
628
  * 添加一个值
629
629
  */
@@ -646,6 +646,17 @@ export declare class MdGeDoubleArray {
646
646
  */
647
647
  forEach(call: (val: number, index: number) => void): void;
648
648
  }
649
+ /**
650
+ * 范围对象
651
+ */
652
+ export declare class McGeBound {
653
+ minPoint: McGePoint3d;
654
+ maxPoint: McGePoint3d;
655
+ isValid: boolean;
656
+ constructor(pts?: McGePoint3dArray | McGePoint3d[]);
657
+ addPoint(pt: McGePoint3d): void;
658
+ addPoints(pts: McGePoint3dArray | McGePoint3d[]): void;
659
+ }
649
660
  declare class MxCoordConvertType {
650
661
  doc2cad(pt: McGePoint3d): McGePoint3d;
651
662
  cad2doc(pt: McGePoint3d): McGePoint3d;
@@ -656,25 +667,6 @@ declare class MxCoordConvertType {
656
667
  }
657
668
  export declare let MxCoordConvert: MxCoordConvertType;
658
669
  export declare function getFilterImp(filter?: MxCADResbuf | null): any;
659
- /*** AutoLISP 中 resbuf 结构中可能的数据类型 */
660
- export declare enum MxCADResbufDataType {
661
- /** 长整型 */
662
- kLong = 1071,
663
- /** 双精度浮点数 */
664
- kDouble = 1040,
665
- /** 字符串 */
666
- kString = 1000,
667
- /** 点坐标 */
668
- kPoint = 1010,
669
- /** 实体类型 */
670
- kEntityType = 5020,
671
- /** 实体ID */
672
- kEntityId = -8000,
673
- /** 实体 */
674
- kEntity = -8500,
675
- /** 扩展数据名称 */
676
- kExDataName = 1001
677
- }
678
670
  /**
679
671
  * MxCADResbuf 类用于操作 AutoCAD 中的 resbuf 数据。
680
672
  */
@@ -2528,6 +2520,31 @@ export declare class McDbRasterImage extends McDbEntity {
2528
2520
  clipBoundary(): McGePoint3dArray;
2529
2521
  clipBoundaryType(): McDb.ClipBoundaryType;
2530
2522
  }
2523
+ /**
2524
+ * Dxf组码
2525
+ * @public
2526
+ */
2527
+ export declare enum DxfCode {
2528
+ kEntityType = 5020,
2529
+ kLayer = 8,
2530
+ kBlockName = 2,
2531
+ kColor = 62,
2532
+ kAppName = -3,
2533
+ /** 长整型 */
2534
+ kLong = 1071,
2535
+ /** 双精度浮点数 */
2536
+ kDouble = 1040,
2537
+ /** 字符串 */
2538
+ kString = 1000,
2539
+ /** 点坐标 */
2540
+ kPoint = 1010,
2541
+ /** 实体ID */
2542
+ kEntityId = -8000,
2543
+ /** 实体 */
2544
+ kEntity = -8500,
2545
+ /** 扩展数据名称 */
2546
+ kExDataName = 1001
2547
+ }
2531
2548
  /**
2532
2549
  * McDb 命名空间包含 AutoCAD 中的一些常用枚举。
2533
2550
  * @public
@@ -4106,6 +4123,8 @@ export declare class MxCADPluginBase {
4106
4123
  mxcadui?: MxCADUI;
4107
4124
  openFile?: string;
4108
4125
  map_default_data?: MxCADPluginMapDefaultData;
4126
+ fontspath?: string;
4127
+ networkFonts?: string[];
4109
4128
  }
4110
4129
  /** 自定义属性窗口的值的类型 */
4111
4130
  export declare enum MxPropertiesWindowCustomValueType {