mxdraw 0.1.48 → 0.1.49

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.
@@ -50,6 +50,7 @@ export default abstract class MxDbEntity {
50
50
  private dDashArray;
51
51
  private dDashRatio;
52
52
  private layer;
53
+ abstract getTypeName(): string;
53
54
  /**
54
55
  * 自定义对象的绘制函数。在方法中定义如何绘制图形
55
56
  * @param pWorldDraw 绘制对象{@link McGiWorldDraw }
@@ -98,11 +99,6 @@ export default abstract class MxDbEntity {
98
99
  * ```
99
100
  */
100
101
  protected dwgOutHelp(obj: any, aryProp: string[]): any;
101
- /**
102
- * 得到对象类型名
103
- * @returns string
104
- */
105
- getTypeName(): string;
106
102
  /**
107
103
  * 新创建一个自定义对象 (默认调用该对象的构造函数来创建新的对象)
108
104
  * @param
@@ -7,6 +7,7 @@ import MxDbEntity from '../MxDbEntity';
7
7
  export default class MxDbHatch extends MxDbEntity {
8
8
  points: THREE.Vector3[];
9
9
  worldDraw(pWorldDraw: McGiWorldDraw): void;
10
+ getTypeName(): string;
10
11
  moveGripPointsAt(index: number, offset: THREE.Vector3): boolean;
11
12
  /** 设置顶点坐标 */
12
13
  setPoints(points: THREE.Vector3[]): void;
@@ -10,6 +10,7 @@ export default class MxDbLeadTag extends MxDbEntity {
10
10
  leadLen: number;
11
11
  text: string;
12
12
  textHeight: number;
13
+ getTypeName(): string;
13
14
  private createDots;
14
15
  worldDraw(pWorldDraw: McGiWorldDraw): void;
15
16
  getGripPoints(): THREE.Vector3[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mxdraw",
3
- "version": "0.1.48",
3
+ "version": "0.1.49",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/mxdraw.umd.js",