mxdraw 0.1.354 → 0.1.356
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 +50 -1
- package/dist/mxdraw.esm.js +1 -1
- package/dist/mxdraw.umd.js +1 -1
- package/package.json +1 -1
package/dist/mxdraw.d.ts
CHANGED
|
@@ -580,6 +580,7 @@ declare abstract class MxDbEntity extends RenderOrderNode<EntityEvent, MxDbEntit
|
|
|
580
580
|
lineWidthByPixels: boolean;
|
|
581
581
|
dDashArray: number;
|
|
582
582
|
dDashRatio: number;
|
|
583
|
+
sLayoutName: string;
|
|
583
584
|
layer: string;
|
|
584
585
|
protected use_smallcoord_display: boolean;
|
|
585
586
|
abstract getTypeName(): string;
|
|
@@ -588,6 +589,8 @@ declare abstract class MxDbEntity extends RenderOrderNode<EntityEvent, MxDbEntit
|
|
|
588
589
|
toSmallcoord(mxobj: MxDrawObject, pt: THREE.Vector3): THREE.Vector3;
|
|
589
590
|
isUseSmallcoordDisplay(): boolean;
|
|
590
591
|
setUseSmallcoordDisplay(use_smallcoord_display: boolean): void;
|
|
592
|
+
setLayoutName(name: string): void;
|
|
593
|
+
getLayoutName(): string;
|
|
591
594
|
/**
|
|
592
595
|
* 自定义对象的绘制函数。在方法中定义如何绘制图形
|
|
593
596
|
* @param pWorldDraw 绘制对象{@link McGiWorldDraw }
|
|
@@ -2857,6 +2860,15 @@ declare class MxDrawObject extends Node<MxDrawEvents, Node<any, any>> {
|
|
|
2857
2860
|
* ```
|
|
2858
2861
|
*/
|
|
2859
2862
|
getViewAngle(): number;
|
|
2863
|
+
/**
|
|
2864
|
+
* 内部使用
|
|
2865
|
+
* @example
|
|
2866
|
+
* ```typescript
|
|
2867
|
+
*
|
|
2868
|
+
*
|
|
2869
|
+
* ```
|
|
2870
|
+
*/
|
|
2871
|
+
clearCurrentLayoutVeriableCache(): void;
|
|
2860
2872
|
/**
|
|
2861
2873
|
* 得到系统变量
|
|
2862
2874
|
* @example
|
|
@@ -3687,6 +3699,29 @@ declare enum UserInputControls {
|
|
|
3687
3699
|
/** 接受空格输入 */
|
|
3688
3700
|
kSpacesInAccepted = 16384
|
|
3689
3701
|
}
|
|
3702
|
+
declare enum AcquirePointOsnapMode {
|
|
3703
|
+
kOsModekInValid = 0,
|
|
3704
|
+
kOsModeEnd = 1,
|
|
3705
|
+
kOsModeMid = 2,
|
|
3706
|
+
kOsModeCen = 3,
|
|
3707
|
+
kOsModeNode = 4,
|
|
3708
|
+
kOsModeQuad = 5,
|
|
3709
|
+
kOsModeIns = 7,
|
|
3710
|
+
kOsModePerp = 8,
|
|
3711
|
+
kOsModeTan = 9,
|
|
3712
|
+
kOsModeNear = 10,
|
|
3713
|
+
kOsModeInt = 11
|
|
3714
|
+
}
|
|
3715
|
+
declare enum AcquirePointType {
|
|
3716
|
+
kAPTValid = 0,
|
|
3717
|
+
kAPTOsnap = 1,
|
|
3718
|
+
kAPTDynamicTrace = 2,
|
|
3719
|
+
kAPTCommandStringIn = 4,
|
|
3720
|
+
kAPTPolarAxisTrace = 5,
|
|
3721
|
+
kAPTOrtho = 6,
|
|
3722
|
+
kAPTGridTrace = 7,
|
|
3723
|
+
kAPTLockDynIn = 8
|
|
3724
|
+
}
|
|
3690
3725
|
declare class MrxDbgUiPrBase {
|
|
3691
3726
|
protected imp: any;
|
|
3692
3727
|
protected status: MrxDbgUiPrBaseReturn;
|
|
@@ -3744,6 +3779,14 @@ declare class MrxDbgUiPrBase {
|
|
|
3744
3779
|
* 返回交互操作退出的详细原因
|
|
3745
3780
|
*/
|
|
3746
3781
|
getDetailedResult(): DetailedResult;
|
|
3782
|
+
/**
|
|
3783
|
+
* 返回交互取点操作得到的点类型
|
|
3784
|
+
*/
|
|
3785
|
+
getResultPointType(): AcquirePointType;
|
|
3786
|
+
/**
|
|
3787
|
+
* 返回交互取点操作得到的点的捕捉类型
|
|
3788
|
+
*/
|
|
3789
|
+
getResultPointOsnapMode(): AcquirePointOsnapMode;
|
|
3747
3790
|
getStatus(): MrxDbgUiPrBaseReturn;
|
|
3748
3791
|
/**
|
|
3749
3792
|
* 把动态绘制的对象,保留到图上。
|
|
@@ -5632,6 +5675,10 @@ type Mx_MxCursorType = MxCursorType;
|
|
|
5632
5675
|
declare const Mx_MxCursorType: typeof MxCursorType;
|
|
5633
5676
|
type Mx_DetailedResult = DetailedResult;
|
|
5634
5677
|
declare const Mx_DetailedResult: typeof DetailedResult;
|
|
5678
|
+
type Mx_AcquirePointType = AcquirePointType;
|
|
5679
|
+
declare const Mx_AcquirePointType: typeof AcquirePointType;
|
|
5680
|
+
type Mx_AcquirePointOsnapMode = AcquirePointOsnapMode;
|
|
5681
|
+
declare const Mx_AcquirePointOsnapMode: typeof AcquirePointOsnapMode;
|
|
5635
5682
|
type Mx_DynamicInputType = DynamicInputType;
|
|
5636
5683
|
declare const Mx_DynamicInputType: typeof DynamicInputType;
|
|
5637
5684
|
type Mx_UserInputControls = UserInputControls;
|
|
@@ -5711,6 +5758,8 @@ declare namespace Mx {
|
|
|
5711
5758
|
Mx_MrxDbgUiPrBase as MrxDbgUiPrBase,
|
|
5712
5759
|
Mx_MxCursorType as MxCursorType,
|
|
5713
5760
|
Mx_DetailedResult as DetailedResult,
|
|
5761
|
+
Mx_AcquirePointType as AcquirePointType,
|
|
5762
|
+
Mx_AcquirePointOsnapMode as AcquirePointOsnapMode,
|
|
5714
5763
|
Mx_DynamicInputType as DynamicInputType,
|
|
5715
5764
|
Mx_UserInputControls as UserInputControls,
|
|
5716
5765
|
Mx_MrxDbgUiPrDist as MrxDbgUiPrDist,
|
|
@@ -5729,4 +5778,4 @@ declare global {
|
|
|
5729
5778
|
}
|
|
5730
5779
|
}
|
|
5731
5780
|
|
|
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 };
|
|
5781
|
+
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 };
|