mxdraw 0.1.221 → 0.1.223

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
@@ -577,8 +577,13 @@ declare abstract class MxDbEntity extends RenderOrderNode<EntityEvent, MxDbEntit
577
577
  dDashArray: number;
578
578
  dDashRatio: number;
579
579
  layer: string;
580
+ protected use_smallcoord_display: boolean;
580
581
  abstract getTypeName(): string;
581
582
  initGuid(guid: string): void;
583
+ toSmallcoord2(mxobj: MxDrawObject, x: number, y: number, z?: number): THREE.Vector3;
584
+ toSmallcoord(mxobj: MxDrawObject, pt: THREE.Vector3): THREE.Vector3;
585
+ isUseSmallcoordDisplay(): boolean;
586
+ setUseSmallcoordDisplay(use_smallcoord_display: boolean): void;
582
587
  /**
583
588
  * 自定义对象的绘制函数。在方法中定义如何绘制图形
584
589
  * @param pWorldDraw 绘制对象{@link McGiWorldDraw }
@@ -2547,6 +2552,8 @@ declare class MxDrawObject extends Node<MxDrawEvents, Node<any, any>> {
2547
2552
  */
2548
2553
  cadCoord2Doc(x: number, y: number, z: number): THREE.Vector3;
2549
2554
  cadCoord2Doc2(pt: THREE.Vector3): THREE.Vector3;
2555
+ toSmallcoord(pt: THREE.Vector3): THREE.Vector3;
2556
+ toSmallcoord2(x: number, y: number, z?: number): THREE.Vector3;
2550
2557
  /**
2551
2558
  * 文档坐标坐标到CAD.
2552
2559
  * 默认情况下,cad等于doc,当前m_isCorrectLargeCoordinates为true时,doc变成了把cad图纸修改到小范围坐标系下的坐标。
@@ -4381,6 +4388,7 @@ declare class MxDbCloudLine extends MxDbEntity {
4381
4388
  private points;
4382
4389
  private radius;
4383
4390
  private cachePoint;
4391
+ constructor();
4384
4392
  getTypeName(): string;
4385
4393
  create(): MxDbEntity;
4386
4394
  /** 设置构成云线的每个圆弧半径长度
@@ -4459,6 +4467,7 @@ declare class MxDbLeadComment extends MxDbEntity {
4459
4467
  textWidth: number;
4460
4468
  /** 文字大小,取屏幕像素绘图单位。 */
4461
4469
  fixedSize: boolean;
4470
+ constructor();
4462
4471
  getTypeName(): string;
4463
4472
  create(): MxDbEntity;
4464
4473
  worldDraw(pWorldDraw: McGiWorldDraw): void;
@@ -4492,6 +4501,7 @@ declare class MxDbRectBoxLeadComment extends MxDbEntity {
4492
4501
  textWidth: number;
4493
4502
  /** 文字大小,取屏幕像素绘图单位。 */
4494
4503
  fixedSize: boolean;
4504
+ constructor();
4495
4505
  getTypeName(): string;
4496
4506
  create(): MxDbEntity;
4497
4507
  getCloudLine(): any;