mxdraw 0.1.166 → 0.1.167
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 +28 -3
- package/dist/mxdraw.esm.js +1 -1
- package/dist/mxdraw.umd.js +1 -1
- package/package.json +4 -4
package/dist/mxdraw.d.ts
CHANGED
|
@@ -441,7 +441,7 @@ interface McGiWorldDraw {
|
|
|
441
441
|
* ```
|
|
442
442
|
*
|
|
443
443
|
*/
|
|
444
|
-
|
|
444
|
+
setLineWidthByPixels(isPixels: boolean): void;
|
|
445
445
|
/**
|
|
446
446
|
* 得到宽度单位
|
|
447
447
|
* @returns
|
|
@@ -3817,7 +3817,7 @@ declare class MxDbShape extends MxDbEntity {
|
|
|
3817
3817
|
rotation?: number;
|
|
3818
3818
|
center?: THREE.Vector2;
|
|
3819
3819
|
} | undefined;
|
|
3820
|
-
setFillImageParam(param: MxDbShape[
|
|
3820
|
+
setFillImageParam(param: MxDbShape['fillImageParam']): void;
|
|
3821
3821
|
/** 线段细分数值 */
|
|
3822
3822
|
curveSegments: number;
|
|
3823
3823
|
setCurveSegments(curveSegments: number): this;
|
|
@@ -4855,6 +4855,28 @@ declare class Layer extends RenderOrderNode<{}, MxDbEntity> {
|
|
|
4855
4855
|
remove(...entityList: MxDbEntity[]): this;
|
|
4856
4856
|
}
|
|
4857
4857
|
|
|
4858
|
+
declare function drawMxDbSplineCurve(): Promise<void>;
|
|
4859
|
+
|
|
4860
|
+
declare class MxDbSplineCurve extends MxDbEntity {
|
|
4861
|
+
static draw: typeof drawMxDbSplineCurve;
|
|
4862
|
+
static cmd: string;
|
|
4863
|
+
/** 圆中心点 */
|
|
4864
|
+
points: THREE.Vector3[];
|
|
4865
|
+
/** 闭合 */
|
|
4866
|
+
closed: boolean;
|
|
4867
|
+
/** 曲线的张力 */
|
|
4868
|
+
tension: number;
|
|
4869
|
+
/** 曲线类型: centripetal、chordal和catmullrom */
|
|
4870
|
+
curveType: string;
|
|
4871
|
+
worldDraw(pWorldDraw: McGiWorldDraw): void;
|
|
4872
|
+
getGripPoints(): THREE.Vector3[];
|
|
4873
|
+
moveGripPointsAt(index: number, offset: THREE.Vector3): boolean;
|
|
4874
|
+
create(): MxDbEntity;
|
|
4875
|
+
dwgIn(obj: any): boolean;
|
|
4876
|
+
dwgOut(obj: any): object;
|
|
4877
|
+
getTypeName(): string;
|
|
4878
|
+
}
|
|
4879
|
+
|
|
4858
4880
|
declare const Mx_loadCoreCode: typeof loadCoreCode;
|
|
4859
4881
|
declare const Mx_useCanvasResizeListener: typeof useCanvasResizeListener;
|
|
4860
4882
|
declare const Mx_store: typeof store;
|
|
@@ -4954,6 +4976,8 @@ type Mx_MxDbLineShape = MxDbLineShape;
|
|
|
4954
4976
|
declare const Mx_MxDbLineShape: typeof MxDbLineShape;
|
|
4955
4977
|
type Mx_Layer = Layer;
|
|
4956
4978
|
declare const Mx_Layer: typeof Layer;
|
|
4979
|
+
type Mx_MxDbSplineCurve = MxDbSplineCurve;
|
|
4980
|
+
declare const Mx_MxDbSplineCurve: typeof MxDbSplineCurve;
|
|
4957
4981
|
type Mx_MxCursorType = MxCursorType;
|
|
4958
4982
|
declare const Mx_MxCursorType: typeof MxCursorType;
|
|
4959
4983
|
declare namespace Mx {
|
|
@@ -5015,6 +5039,7 @@ declare namespace Mx {
|
|
|
5015
5039
|
Mx_MxDbArrow as MxDbArrow,
|
|
5016
5040
|
Mx_MxDbLineShape as MxDbLineShape,
|
|
5017
5041
|
Mx_Layer as Layer,
|
|
5042
|
+
Mx_MxDbSplineCurve as MxDbSplineCurve,
|
|
5018
5043
|
Mx_MxCursorType as MxCursorType,
|
|
5019
5044
|
};
|
|
5020
5045
|
}
|
|
@@ -5026,4 +5051,4 @@ declare global {
|
|
|
5026
5051
|
}
|
|
5027
5052
|
}
|
|
5028
5053
|
|
|
5029
|
-
export { Layer, McEdGetPointWorldDrawObject, McGePoint3d, McGePoint3dArray, McGeTool, McGiWorldDraw, McGiWorldDrawType, MrxDbgUiPrBaseReturn, MrxDbgUiPrPoint, MrxDbgUtils, Mx3PointArc, MxCADObject, 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, MxDbStarShape, MxDbText, MxDrawObject, MxFilters, MxFun, MxPaintBrush, MxThreeJS, MxType, Mxassembly, Mx as default, loadCoreCode, store, useCanvasResizeListener };
|
|
5054
|
+
export { Layer, McEdGetPointWorldDrawObject, McGePoint3d, McGePoint3dArray, McGeTool, McGiWorldDraw, McGiWorldDrawType, MrxDbgUiPrBaseReturn, MrxDbgUiPrPoint, MrxDbgUtils, Mx3PointArc, MxCADObject, 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, MxThreeJS, MxType, Mxassembly, Mx as default, loadCoreCode, store, useCanvasResizeListener };
|