@mlightcad/cad-viewer 1.4.12 → 1.5.0
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/app/register.d.ts.map +1 -1
- package/dist/app/store.d.ts +1 -0
- package/dist/app/store.d.ts.map +1 -1
- package/dist/command/AcApHatchRibbonCmd.d.ts +74 -0
- package/dist/command/AcApHatchRibbonCmd.d.ts.map +1 -0
- package/dist/command/AcApLayerStateCmd.d.ts.map +1 -1
- package/dist/command/AcApPropertiesCmd.d.ts +5 -0
- package/dist/command/AcApPropertiesCmd.d.ts.map +1 -0
- package/dist/command/AcApQSelectCmd.d.ts +10 -0
- package/dist/command/AcApQSelectCmd.d.ts.map +1 -0
- package/dist/command/index.d.ts +3 -0
- package/dist/command/index.d.ts.map +1 -1
- package/dist/component/MlCadViewer.vue.d.ts +1 -1
- package/dist/component/MlCadViewer.vue.d.ts.map +1 -1
- package/dist/component/common/MlBaseDialog.vue.d.ts.map +1 -1
- package/dist/component/common/MlBaseDrawStyleToolbar.vue.d.ts +1 -1
- package/dist/component/common/MlBaseDrawStyleToolbar.vue.d.ts.map +1 -1
- package/dist/component/common/MlColorDropdown.vue.d.ts +4 -0
- package/dist/component/common/MlColorDropdown.vue.d.ts.map +1 -1
- package/dist/component/common/MlColorPickerDropdown.vue.d.ts +2 -2
- package/dist/component/common/MlHatchPatternDropdown.vue.d.ts +65 -0
- package/dist/component/common/MlHatchPatternDropdown.vue.d.ts.map +1 -0
- package/dist/component/common/MlHatchPatternPanel.vue.d.ts +55 -0
- package/dist/component/common/MlHatchPatternPanel.vue.d.ts.map +1 -0
- package/dist/component/common/MlLayerSelect.vue.d.ts +46 -0
- package/dist/component/common/MlLayerSelect.vue.d.ts.map +1 -0
- package/dist/component/common/MlLineTypeSelect.vue.d.ts +35 -0
- package/dist/component/common/MlLineTypeSelect.vue.d.ts.map +1 -0
- package/dist/component/common/MlLineWeightSelect.vue.d.ts +13 -5
- package/dist/component/common/MlLineWeightSelect.vue.d.ts.map +1 -1
- package/dist/component/common/MlSysVarToggleButton.vue.d.ts.map +1 -1
- package/dist/component/common/hatchPatternPreview.d.ts +36 -0
- package/dist/component/common/hatchPatternPreview.d.ts.map +1 -0
- package/dist/component/common/index.d.ts +4 -0
- package/dist/component/common/index.d.ts.map +1 -1
- package/dist/component/common/lineTypeOptions.d.ts +41 -0
- package/dist/component/common/lineTypeOptions.d.ts.map +1 -0
- package/dist/component/dialog/MlQuickSelectDlg.vue.d.ts +3 -0
- package/dist/component/dialog/MlQuickSelectDlg.vue.d.ts.map +1 -0
- package/dist/component/dialog/index.d.ts +1 -0
- package/dist/component/dialog/index.d.ts.map +1 -1
- package/dist/component/index.d.ts +1 -0
- package/dist/component/index.d.ts.map +1 -1
- package/dist/component/layout/MlEntityInfo.vue.d.ts.map +1 -1
- package/dist/component/layout/MlLanguageSelector.vue.d.ts.map +1 -1
- package/dist/component/layout/MlLayerDrawStyleToolbar.vue.d.ts.map +1 -1
- package/dist/component/layout/MlToolBars.vue.d.ts.map +1 -1
- package/dist/component/palette/MlEntityProperties.vue.d.ts.map +1 -1
- package/dist/component/palette/MlLayerList.vue.d.ts.map +1 -1
- package/dist/component/palette/MlPaletteManager.vue.d.ts +1 -1
- package/dist/component/palette/MlPaletteManager.vue.d.ts.map +1 -1
- package/dist/component/ribbon/MlRibbonCommands.vue.d.ts +30 -0
- package/dist/component/ribbon/MlRibbonCommands.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonHatchColorRow2.vue.d.ts +19 -0
- package/dist/component/ribbon/MlRibbonHatchColorRow2.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonHatchColorRow3.vue.d.ts +20 -0
- package/dist/component/ribbon/MlRibbonHatchColorRow3.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonHatchPatternButton.vue.d.ts +76 -0
- package/dist/component/ribbon/MlRibbonHatchPatternButton.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonLanguageSelector.vue.d.ts +34 -0
- package/dist/component/ribbon/MlRibbonLanguageSelector.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonPropertyColorDropdown.vue.d.ts +32 -0
- package/dist/component/ribbon/MlRibbonPropertyColorDropdown.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonPropertyField.vue.d.ts +45 -0
- package/dist/component/ribbon/MlRibbonPropertyField.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonPropertyLineTypeSelect.vue.d.ts +30 -0
- package/dist/component/ribbon/MlRibbonPropertyLineTypeSelect.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonPropertyLineWeightSelect.vue.d.ts +28 -0
- package/dist/component/ribbon/MlRibbonPropertyLineWeightSelect.vue.d.ts.map +1 -0
- package/dist/component/ribbon/index.d.ts +8 -0
- package/dist/component/ribbon/index.d.ts.map +1 -0
- package/dist/component/ribbon/useHatchContextualRibbon.d.ts +19 -0
- package/dist/component/ribbon/useHatchContextualRibbon.d.ts.map +1 -0
- package/dist/component/statusBar/MlFullScreenButton.vue.d.ts.map +1 -1
- package/dist/component/statusBar/MlStatusBar.vue.d.ts.map +1 -1
- package/dist/component/statusBar/MlThemeButton.vue.d.ts.map +1 -1
- package/dist/composable/index.d.ts +4 -0
- package/dist/composable/index.d.ts.map +1 -1
- package/dist/composable/markComponentConfigRaw.d.ts +2 -0
- package/dist/composable/markComponentConfigRaw.d.ts.map +1 -0
- package/dist/composable/useCommands.d.ts +3 -0
- package/dist/composable/useCommands.d.ts.map +1 -1
- package/dist/composable/useDocOpenMode.d.ts +16 -0
- package/dist/composable/useDocOpenMode.d.ts.map +1 -1
- package/dist/composable/useDocumentOpening.d.ts +9 -0
- package/dist/composable/useDocumentOpening.d.ts.map +1 -0
- package/dist/composable/useHover.d.ts +494 -40
- package/dist/composable/useHover.d.ts.map +1 -1
- package/dist/composable/useLayers.d.ts +21 -4
- package/dist/composable/useLayers.d.ts.map +1 -1
- package/dist/composable/useLocale.d.ts +8 -0
- package/dist/composable/useLocale.d.ts.map +1 -1
- package/dist/composable/useQuickSelect.d.ts +84 -0
- package/dist/composable/useQuickSelect.d.ts.map +1 -0
- package/dist/composable/useRibbonContextualTab.d.ts +19 -0
- package/dist/composable/useRibbonContextualTab.d.ts.map +1 -0
- package/dist/composable/useViewerRect.d.ts +72 -0
- package/dist/composable/useViewerRect.d.ts.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.js +19122 -10839
- package/dist/locale/en/command.d.ts +10 -1
- package/dist/locale/en/command.d.ts.map +1 -1
- package/dist/locale/en/dialog.d.ts +29 -0
- package/dist/locale/en/dialog.d.ts.map +1 -1
- package/dist/locale/en/entity.d.ts +48 -0
- package/dist/locale/en/entity.d.ts.map +1 -1
- package/dist/locale/en/main.d.ts +241 -0
- package/dist/locale/en/main.d.ts.map +1 -1
- package/dist/locale/zh/command.d.ts +10 -1
- package/dist/locale/zh/command.d.ts.map +1 -1
- package/dist/locale/zh/dialog.d.ts +29 -0
- package/dist/locale/zh/dialog.d.ts.map +1 -1
- package/dist/locale/zh/entity.d.ts +48 -0
- package/dist/locale/zh/entity.d.ts.map +1 -1
- package/dist/locale/zh/main.d.ts +241 -0
- package/dist/locale/zh/main.d.ts.map +1 -1
- package/dist/svg/arc/index.d.ts +11 -0
- package/dist/svg/arc/index.d.ts.map +1 -0
- package/dist/svg/circle/index.d.ts +7 -0
- package/dist/svg/circle/index.d.ts.map +1 -0
- package/dist/svg/ellipse/index.d.ts +3 -0
- package/dist/svg/ellipse/index.d.ts.map +1 -0
- package/dist/svg/hatch/index.d.ts +3 -0
- package/dist/svg/hatch/index.d.ts.map +1 -0
- package/dist/svg/index.d.ts +21 -6
- package/dist/svg/index.d.ts.map +1 -1
- package/dist/svg/layer/index.d.ts +14 -0
- package/dist/svg/layer/index.d.ts.map +1 -0
- package/dist/svg/measure/index.d.ts +7 -0
- package/dist/svg/measure/index.d.ts.map +1 -0
- package/dist/svg/spline/index.d.ts +2 -0
- package/dist/svg/spline/index.d.ts.map +1 -0
- package/package.json +13 -10
|
@@ -176,7 +176,7 @@ export declare function useHover(): {
|
|
|
176
176
|
}[];
|
|
177
177
|
};
|
|
178
178
|
subGetGripPoints: () => import('@mlightcad/data-model').AcGePoint3d[];
|
|
179
|
-
subGetOsnapPoints: (osnapMode: import('@mlightcad/data-model').AcDbOsnapMode, pickPoint: AcGePoint3dLike, lastPoint: AcGePoint3dLike, snapPoints: AcGePoint3dLike[], gsMark?: AcDbObjectId) => void;
|
|
179
|
+
subGetOsnapPoints: (osnapMode: import('@mlightcad/data-model').AcDbOsnapMode, pickPoint: AcGePoint3dLike, lastPoint: AcGePoint3dLike, snapPoints: AcGePoint3dLike[], gsMark?: AcDbObjectId, insertionMat?: import('@mlightcad/data-model').AcGeMatrix3d) => void;
|
|
180
180
|
transformBy: (matrix: import('@mlightcad/data-model').AcGeMatrix3d) => AcDbEntity;
|
|
181
181
|
readonly geometricExtents: {
|
|
182
182
|
min: {
|
|
@@ -495,22 +495,6 @@ export declare function useHover(): {
|
|
|
495
495
|
triggerModifiedEvent: () => void;
|
|
496
496
|
readonly lineStyle: {
|
|
497
497
|
type: import('@mlightcad/data-model').AcGiStyleType;
|
|
498
|
-
arrows?: {
|
|
499
|
-
firstArrow?: {
|
|
500
|
-
type: import('@mlightcad/data-model').AcGiArrowType;
|
|
501
|
-
inversed?: boolean | undefined;
|
|
502
|
-
appended?: boolean | undefined;
|
|
503
|
-
scale?: number | undefined;
|
|
504
|
-
visible: boolean;
|
|
505
|
-
} | undefined;
|
|
506
|
-
secondArrow?: {
|
|
507
|
-
type: import('@mlightcad/data-model').AcGiArrowType;
|
|
508
|
-
inversed?: boolean | undefined;
|
|
509
|
-
appended?: boolean | undefined;
|
|
510
|
-
scale?: number | undefined;
|
|
511
|
-
visible: boolean;
|
|
512
|
-
} | undefined;
|
|
513
|
-
} | undefined;
|
|
514
498
|
name: string;
|
|
515
499
|
standardFlag: number;
|
|
516
500
|
description: string;
|
|
@@ -696,6 +680,7 @@ export declare function useHover(): {
|
|
|
696
680
|
removeXData: (appId: string) => void;
|
|
697
681
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
698
682
|
close: () => void;
|
|
683
|
+
clone: () => import('@mlightcad/data-model').AcDbRegAppTable;
|
|
699
684
|
dxfOut: (...args: unknown[]) => unknown;
|
|
700
685
|
};
|
|
701
686
|
readonly blockTable: {
|
|
@@ -703,6 +688,7 @@ export declare function useHover(): {
|
|
|
703
688
|
readonly isModelSapce: boolean;
|
|
704
689
|
readonly isPaperSapce: boolean;
|
|
705
690
|
origin: {
|
|
691
|
+
clone: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
706
692
|
x: number;
|
|
707
693
|
y: number;
|
|
708
694
|
z: number;
|
|
@@ -713,7 +699,6 @@ export declare function useHover(): {
|
|
|
713
699
|
setZ: (z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
714
700
|
setComponent: (index: number, value: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
715
701
|
getComponent: (index: number) => number;
|
|
716
|
-
clone: () => import('@mlightcad/data-model').AcGeVector3d;
|
|
717
702
|
copy: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
718
703
|
add: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
719
704
|
addScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
@@ -841,6 +826,7 @@ export declare function useHover(): {
|
|
|
841
826
|
removeXData: (appId: string) => void;
|
|
842
827
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
843
828
|
close: () => void;
|
|
829
|
+
clone: () => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
844
830
|
dxfOut: (...args: unknown[]) => unknown;
|
|
845
831
|
};
|
|
846
832
|
getEntityById: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbEntity | undefined;
|
|
@@ -909,6 +895,7 @@ export declare function useHover(): {
|
|
|
909
895
|
removeXData: (appId: string) => void;
|
|
910
896
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
911
897
|
close: () => void;
|
|
898
|
+
clone: () => import('@mlightcad/data-model').AcDbBlockTable;
|
|
912
899
|
dxfOut: (...args: unknown[]) => unknown;
|
|
913
900
|
};
|
|
914
901
|
readonly dimStyleTable: {
|
|
@@ -976,6 +963,7 @@ export declare function useHover(): {
|
|
|
976
963
|
removeXData: (appId: string) => void;
|
|
977
964
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
978
965
|
close: () => void;
|
|
966
|
+
clone: () => import('@mlightcad/data-model').AcDbDimStyleTable;
|
|
979
967
|
dxfOut: (...args: unknown[]) => unknown;
|
|
980
968
|
};
|
|
981
969
|
readonly linetypeTable: {
|
|
@@ -1043,6 +1031,7 @@ export declare function useHover(): {
|
|
|
1043
1031
|
removeXData: (appId: string) => void;
|
|
1044
1032
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1045
1033
|
close: () => void;
|
|
1034
|
+
clone: () => import('@mlightcad/data-model').AcDbLinetypeTable;
|
|
1046
1035
|
dxfOut: (...args: unknown[]) => unknown;
|
|
1047
1036
|
};
|
|
1048
1037
|
readonly textStyleTable: {
|
|
@@ -1111,6 +1100,7 @@ export declare function useHover(): {
|
|
|
1111
1100
|
removeXData: (appId: string) => void;
|
|
1112
1101
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1113
1102
|
close: () => void;
|
|
1103
|
+
clone: () => import('@mlightcad/data-model').AcDbTextStyleTable;
|
|
1114
1104
|
dxfOut: (...args: unknown[]) => unknown;
|
|
1115
1105
|
};
|
|
1116
1106
|
readonly viewTable: {
|
|
@@ -1178,6 +1168,7 @@ export declare function useHover(): {
|
|
|
1178
1168
|
removeXData: (appId: string) => void;
|
|
1179
1169
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1180
1170
|
close: () => void;
|
|
1171
|
+
clone: () => import('@mlightcad/data-model').AcDbViewTable;
|
|
1181
1172
|
dxfOut: (...args: unknown[]) => unknown;
|
|
1182
1173
|
};
|
|
1183
1174
|
readonly layerTable: {
|
|
@@ -1245,6 +1236,7 @@ export declare function useHover(): {
|
|
|
1245
1236
|
removeXData: (appId: string) => void;
|
|
1246
1237
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1247
1238
|
close: () => void;
|
|
1239
|
+
clone: () => import('@mlightcad/data-model').AcDbLayerTable;
|
|
1248
1240
|
dxfOut: (...args: unknown[]) => unknown;
|
|
1249
1241
|
};
|
|
1250
1242
|
readonly viewportTable: {
|
|
@@ -1312,6 +1304,7 @@ export declare function useHover(): {
|
|
|
1312
1304
|
removeXData: (appId: string) => void;
|
|
1313
1305
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1314
1306
|
close: () => void;
|
|
1307
|
+
clone: () => import('@mlightcad/data-model').AcDbViewportTable;
|
|
1315
1308
|
dxfOut: (...args: unknown[]) => unknown;
|
|
1316
1309
|
};
|
|
1317
1310
|
};
|
|
@@ -1381,6 +1374,7 @@ export declare function useHover(): {
|
|
|
1381
1374
|
removeXData: (appId: string) => void;
|
|
1382
1375
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1383
1376
|
close: () => void;
|
|
1377
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>>>;
|
|
1384
1378
|
dxfOut: (...args: unknown[]) => unknown;
|
|
1385
1379
|
};
|
|
1386
1380
|
readonly imageDefinition: {
|
|
@@ -1448,6 +1442,7 @@ export declare function useHover(): {
|
|
|
1448
1442
|
removeXData: (appId: string) => void;
|
|
1449
1443
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1450
1444
|
close: () => void;
|
|
1445
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbRasterImageDef>;
|
|
1451
1446
|
dxfOut: (...args: unknown[]) => unknown;
|
|
1452
1447
|
};
|
|
1453
1448
|
readonly layout: {
|
|
@@ -1517,6 +1512,143 @@ export declare function useHover(): {
|
|
|
1517
1512
|
removeXData: (appId: string) => void;
|
|
1518
1513
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1519
1514
|
close: () => void;
|
|
1515
|
+
clone: () => import('@mlightcad/data-model').AcDbLayoutDictionary;
|
|
1516
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
1517
|
+
};
|
|
1518
|
+
readonly mleaderStyle: {
|
|
1519
|
+
readonly numEntries: number;
|
|
1520
|
+
setAt: (key: string, value: import('@mlightcad/data-model').AcDbMLeaderStyle) => void;
|
|
1521
|
+
remove: (name: string) => boolean;
|
|
1522
|
+
removeId: (id: string) => boolean;
|
|
1523
|
+
removeAll: () => void;
|
|
1524
|
+
has: (name: string) => boolean;
|
|
1525
|
+
hasId: (id: string) => boolean;
|
|
1526
|
+
getAt: (name: string) => import('@mlightcad/data-model').AcDbMLeaderStyle | undefined;
|
|
1527
|
+
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbMLeaderStyle | undefined;
|
|
1528
|
+
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbMLeaderStyle>;
|
|
1529
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbMLeaderStyle]>;
|
|
1530
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMLeaderStyle>;
|
|
1531
|
+
readonly attrs: {
|
|
1532
|
+
attributes: {
|
|
1533
|
+
[x: string]: any;
|
|
1534
|
+
objectId?: AcDbObjectId | undefined;
|
|
1535
|
+
ownerId?: AcDbObjectId | undefined;
|
|
1536
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
1537
|
+
};
|
|
1538
|
+
changed: {
|
|
1539
|
+
[x: string]: any;
|
|
1540
|
+
objectId?: AcDbObjectId | undefined;
|
|
1541
|
+
ownerId?: AcDbObjectId | undefined;
|
|
1542
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
1543
|
+
};
|
|
1544
|
+
readonly events: {
|
|
1545
|
+
attrChanged: {
|
|
1546
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1547
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1548
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1549
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
1550
|
+
};
|
|
1551
|
+
modelChanged: {
|
|
1552
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1553
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1554
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1555
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
1556
|
+
};
|
|
1557
|
+
};
|
|
1558
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined;
|
|
1559
|
+
set: {
|
|
1560
|
+
<A extends string>(key: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1561
|
+
(key: Partial<import('@mlightcad/data-model').AcDbObjectAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1562
|
+
};
|
|
1563
|
+
has: (key: string) => boolean;
|
|
1564
|
+
hasChanged: (key?: string | undefined) => boolean;
|
|
1565
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1566
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | null | undefined;
|
|
1567
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1568
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1569
|
+
};
|
|
1570
|
+
getAttr: (attrName: string) => any;
|
|
1571
|
+
getAttrWithoutException: (attrName: string) => any;
|
|
1572
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
1573
|
+
objectId: AcDbObjectId;
|
|
1574
|
+
readonly isTemp: any;
|
|
1575
|
+
ownerId: AcDbObjectId;
|
|
1576
|
+
extensionDictionary: AcDbObjectId | undefined;
|
|
1577
|
+
database: /*elided*/ any;
|
|
1578
|
+
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
1579
|
+
setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
|
|
1580
|
+
removeXData: (appId: string) => void;
|
|
1581
|
+
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1582
|
+
close: () => void;
|
|
1583
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMLeaderStyle>;
|
|
1584
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
1585
|
+
};
|
|
1586
|
+
readonly mlineStyle: {
|
|
1587
|
+
readonly numEntries: number;
|
|
1588
|
+
setAt: (key: string, value: import('@mlightcad/data-model').AcDbMlineStyle) => void;
|
|
1589
|
+
remove: (name: string) => boolean;
|
|
1590
|
+
removeId: (id: string) => boolean;
|
|
1591
|
+
removeAll: () => void;
|
|
1592
|
+
has: (name: string) => boolean;
|
|
1593
|
+
hasId: (id: string) => boolean;
|
|
1594
|
+
getAt: (name: string) => import('@mlightcad/data-model').AcDbMlineStyle | undefined;
|
|
1595
|
+
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbMlineStyle | undefined;
|
|
1596
|
+
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbMlineStyle>;
|
|
1597
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbMlineStyle]>;
|
|
1598
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMlineStyle>;
|
|
1599
|
+
readonly attrs: {
|
|
1600
|
+
attributes: {
|
|
1601
|
+
[x: string]: any;
|
|
1602
|
+
objectId?: AcDbObjectId | undefined;
|
|
1603
|
+
ownerId?: AcDbObjectId | undefined;
|
|
1604
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
1605
|
+
};
|
|
1606
|
+
changed: {
|
|
1607
|
+
[x: string]: any;
|
|
1608
|
+
objectId?: AcDbObjectId | undefined;
|
|
1609
|
+
ownerId?: AcDbObjectId | undefined;
|
|
1610
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
1611
|
+
};
|
|
1612
|
+
readonly events: {
|
|
1613
|
+
attrChanged: {
|
|
1614
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1615
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1616
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1617
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
1618
|
+
};
|
|
1619
|
+
modelChanged: {
|
|
1620
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1621
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1622
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1623
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
1624
|
+
};
|
|
1625
|
+
};
|
|
1626
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined;
|
|
1627
|
+
set: {
|
|
1628
|
+
<A extends string>(key: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1629
|
+
(key: Partial<import('@mlightcad/data-model').AcDbObjectAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1630
|
+
};
|
|
1631
|
+
has: (key: string) => boolean;
|
|
1632
|
+
hasChanged: (key?: string | undefined) => boolean;
|
|
1633
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1634
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | null | undefined;
|
|
1635
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1636
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1637
|
+
};
|
|
1638
|
+
getAttr: (attrName: string) => any;
|
|
1639
|
+
getAttrWithoutException: (attrName: string) => any;
|
|
1640
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
1641
|
+
objectId: AcDbObjectId;
|
|
1642
|
+
readonly isTemp: any;
|
|
1643
|
+
ownerId: AcDbObjectId;
|
|
1644
|
+
extensionDictionary: AcDbObjectId | undefined;
|
|
1645
|
+
database: /*elided*/ any;
|
|
1646
|
+
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
1647
|
+
setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
|
|
1648
|
+
removeXData: (appId: string) => void;
|
|
1649
|
+
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1650
|
+
close: () => void;
|
|
1651
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMlineStyle>;
|
|
1520
1652
|
dxfOut: (...args: unknown[]) => unknown;
|
|
1521
1653
|
};
|
|
1522
1654
|
readonly xrecord: {
|
|
@@ -1584,6 +1716,7 @@ export declare function useHover(): {
|
|
|
1584
1716
|
removeXData: (appId: string) => void;
|
|
1585
1717
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1586
1718
|
close: () => void;
|
|
1719
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbXrecord>;
|
|
1587
1720
|
dxfOut: (...args: unknown[]) => unknown;
|
|
1588
1721
|
};
|
|
1589
1722
|
};
|
|
@@ -1628,12 +1761,104 @@ export declare function useHover(): {
|
|
|
1628
1761
|
toString: () => string;
|
|
1629
1762
|
};
|
|
1630
1763
|
celtscale: number;
|
|
1764
|
+
celtype: string;
|
|
1631
1765
|
celweight: import('@mlightcad/data-model').AcGiLineWeight;
|
|
1766
|
+
cetransparency: {
|
|
1767
|
+
method: import('@mlightcad/data-model').AcCmTransparencyMethod;
|
|
1768
|
+
alpha: number;
|
|
1769
|
+
percentage: number | undefined;
|
|
1770
|
+
readonly isByAlpha: boolean;
|
|
1771
|
+
readonly isByBlock: boolean;
|
|
1772
|
+
readonly isByLayer: boolean;
|
|
1773
|
+
readonly isClear: boolean;
|
|
1774
|
+
readonly isSolid: boolean;
|
|
1775
|
+
readonly isInvalid: boolean;
|
|
1776
|
+
serialize: () => number;
|
|
1777
|
+
clone: () => import('@mlightcad/data-model').AcCmTransparency;
|
|
1778
|
+
equals: (other: import('@mlightcad/data-model').AcCmTransparency) => boolean;
|
|
1779
|
+
toString: () => string;
|
|
1780
|
+
};
|
|
1632
1781
|
clayer: string;
|
|
1782
|
+
cmlstyle: string;
|
|
1783
|
+
cmlscale: number;
|
|
1784
|
+
cmleaderstyle: string;
|
|
1785
|
+
hpbackgroundcolor: {
|
|
1786
|
+
colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
|
|
1787
|
+
readonly red: number | undefined;
|
|
1788
|
+
readonly green: number | undefined;
|
|
1789
|
+
readonly blue: number | undefined;
|
|
1790
|
+
readonly RGB: number | undefined;
|
|
1791
|
+
setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1792
|
+
setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
|
|
1793
|
+
setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
|
|
1794
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1795
|
+
readonly hexColor: string | undefined;
|
|
1796
|
+
readonly cssColor: string | undefined;
|
|
1797
|
+
cssColorAlpha: (alpha: number) => string | undefined;
|
|
1798
|
+
colorIndex: number | undefined;
|
|
1799
|
+
readonly isByColor: boolean;
|
|
1800
|
+
readonly isByACI: boolean;
|
|
1801
|
+
readonly isForeground: boolean;
|
|
1802
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
1803
|
+
readonly isByLayer: boolean;
|
|
1804
|
+
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1805
|
+
readonly isByBlock: boolean;
|
|
1806
|
+
setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1807
|
+
colorName: string | undefined;
|
|
1808
|
+
clone: () => import('@mlightcad/data-model').AcCmColor;
|
|
1809
|
+
copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
|
|
1810
|
+
equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
|
|
1811
|
+
toString: () => string;
|
|
1812
|
+
};
|
|
1813
|
+
hpcolor: {
|
|
1814
|
+
colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
|
|
1815
|
+
readonly red: number | undefined;
|
|
1816
|
+
readonly green: number | undefined;
|
|
1817
|
+
readonly blue: number | undefined;
|
|
1818
|
+
readonly RGB: number | undefined;
|
|
1819
|
+
setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1820
|
+
setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
|
|
1821
|
+
setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
|
|
1822
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1823
|
+
readonly hexColor: string | undefined;
|
|
1824
|
+
readonly cssColor: string | undefined;
|
|
1825
|
+
cssColorAlpha: (alpha: number) => string | undefined;
|
|
1826
|
+
colorIndex: number | undefined;
|
|
1827
|
+
readonly isByColor: boolean;
|
|
1828
|
+
readonly isByACI: boolean;
|
|
1829
|
+
readonly isForeground: boolean;
|
|
1830
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
1831
|
+
readonly isByLayer: boolean;
|
|
1832
|
+
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1833
|
+
readonly isByBlock: boolean;
|
|
1834
|
+
setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1835
|
+
colorName: string | undefined;
|
|
1836
|
+
clone: () => import('@mlightcad/data-model').AcCmColor;
|
|
1837
|
+
copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
|
|
1838
|
+
equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
|
|
1839
|
+
toString: () => string;
|
|
1840
|
+
};
|
|
1841
|
+
hplayer: string;
|
|
1842
|
+
hptransparency: {
|
|
1843
|
+
method: import('@mlightcad/data-model').AcCmTransparencyMethod;
|
|
1844
|
+
alpha: number;
|
|
1845
|
+
percentage: number | undefined;
|
|
1846
|
+
readonly isByAlpha: boolean;
|
|
1847
|
+
readonly isByBlock: boolean;
|
|
1848
|
+
readonly isByLayer: boolean;
|
|
1849
|
+
readonly isClear: boolean;
|
|
1850
|
+
readonly isSolid: boolean;
|
|
1851
|
+
readonly isInvalid: boolean;
|
|
1852
|
+
serialize: () => number;
|
|
1853
|
+
clone: () => import('@mlightcad/data-model').AcCmTransparency;
|
|
1854
|
+
equals: (other: import('@mlightcad/data-model').AcCmTransparency) => boolean;
|
|
1855
|
+
toString: () => string;
|
|
1856
|
+
};
|
|
1633
1857
|
textstyle: string;
|
|
1634
1858
|
angBase: number;
|
|
1635
1859
|
angDir: number;
|
|
1636
1860
|
extmax: {
|
|
1861
|
+
clone: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
1637
1862
|
x: number;
|
|
1638
1863
|
y: number;
|
|
1639
1864
|
z: number;
|
|
@@ -1644,7 +1869,6 @@ export declare function useHover(): {
|
|
|
1644
1869
|
setZ: (z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1645
1870
|
setComponent: (index: number, value: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1646
1871
|
getComponent: (index: number) => number;
|
|
1647
|
-
clone: () => import('@mlightcad/data-model').AcGeVector3d;
|
|
1648
1872
|
copy: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1649
1873
|
add: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1650
1874
|
addScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
@@ -1705,6 +1929,7 @@ export declare function useHover(): {
|
|
|
1705
1929
|
[Symbol.iterator]: () => Generator<number, void, unknown>;
|
|
1706
1930
|
};
|
|
1707
1931
|
extmin: {
|
|
1932
|
+
clone: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
1708
1933
|
x: number;
|
|
1709
1934
|
y: number;
|
|
1710
1935
|
z: number;
|
|
@@ -1715,7 +1940,6 @@ export declare function useHover(): {
|
|
|
1715
1940
|
setZ: (z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1716
1941
|
setComponent: (index: number, value: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1717
1942
|
getComponent: (index: number) => number;
|
|
1718
|
-
clone: () => import('@mlightcad/data-model').AcGeVector3d;
|
|
1719
1943
|
copy: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1720
1944
|
add: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1721
1945
|
addScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
@@ -2094,6 +2318,7 @@ export declare function useHover(): {
|
|
|
2094
2318
|
dxfOut: (_fileName?: string, precision?: number, version?: import('@mlightcad/data-model').AcDbDwgVersion | string | number, _saveThumbnailImage?: boolean) => string;
|
|
2095
2319
|
regen: () => Promise<void>;
|
|
2096
2320
|
createDefaultData: (options?: import('@mlightcad/data-model').AcDbCreateDefaultDataOptions) => void;
|
|
2321
|
+
ensureEntityStyleDefaults: (entity: AcDbEntity) => void;
|
|
2097
2322
|
readonly attrs: {
|
|
2098
2323
|
attributes: {
|
|
2099
2324
|
[x: string]: any;
|
|
@@ -2146,6 +2371,7 @@ export declare function useHover(): {
|
|
|
2146
2371
|
removeXData: (appId: string) => void;
|
|
2147
2372
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
2148
2373
|
close: () => void;
|
|
2374
|
+
clone: () => import('@mlightcad/data-model').AcDbDatabase;
|
|
2149
2375
|
dxfOutFields: (_filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDatabase;
|
|
2150
2376
|
};
|
|
2151
2377
|
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
@@ -2153,6 +2379,7 @@ export declare function useHover(): {
|
|
|
2153
2379
|
removeXData: (appId: string) => void;
|
|
2154
2380
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
2155
2381
|
close: () => void;
|
|
2382
|
+
clone: () => AcDbEntity;
|
|
2156
2383
|
dxfOut: (...args: unknown[]) => unknown;
|
|
2157
2384
|
} | null, AcDbEntity | {
|
|
2158
2385
|
readonly type: string;
|
|
@@ -2270,7 +2497,7 @@ export declare function useHover(): {
|
|
|
2270
2497
|
}[];
|
|
2271
2498
|
};
|
|
2272
2499
|
subGetGripPoints: () => import('@mlightcad/data-model').AcGePoint3d[];
|
|
2273
|
-
subGetOsnapPoints: (osnapMode: import('@mlightcad/data-model').AcDbOsnapMode, pickPoint: AcGePoint3dLike, lastPoint: AcGePoint3dLike, snapPoints: AcGePoint3dLike[], gsMark?: AcDbObjectId) => void;
|
|
2500
|
+
subGetOsnapPoints: (osnapMode: import('@mlightcad/data-model').AcDbOsnapMode, pickPoint: AcGePoint3dLike, lastPoint: AcGePoint3dLike, snapPoints: AcGePoint3dLike[], gsMark?: AcDbObjectId, insertionMat?: import('@mlightcad/data-model').AcGeMatrix3d) => void;
|
|
2274
2501
|
transformBy: (matrix: import('@mlightcad/data-model').AcGeMatrix3d) => AcDbEntity;
|
|
2275
2502
|
readonly geometricExtents: {
|
|
2276
2503
|
min: {
|
|
@@ -2589,22 +2816,6 @@ export declare function useHover(): {
|
|
|
2589
2816
|
triggerModifiedEvent: () => void;
|
|
2590
2817
|
readonly lineStyle: {
|
|
2591
2818
|
type: import('@mlightcad/data-model').AcGiStyleType;
|
|
2592
|
-
arrows?: {
|
|
2593
|
-
firstArrow?: {
|
|
2594
|
-
type: import('@mlightcad/data-model').AcGiArrowType;
|
|
2595
|
-
inversed?: boolean | undefined;
|
|
2596
|
-
appended?: boolean | undefined;
|
|
2597
|
-
scale?: number | undefined;
|
|
2598
|
-
visible: boolean;
|
|
2599
|
-
} | undefined;
|
|
2600
|
-
secondArrow?: {
|
|
2601
|
-
type: import('@mlightcad/data-model').AcGiArrowType;
|
|
2602
|
-
inversed?: boolean | undefined;
|
|
2603
|
-
appended?: boolean | undefined;
|
|
2604
|
-
scale?: number | undefined;
|
|
2605
|
-
visible: boolean;
|
|
2606
|
-
} | undefined;
|
|
2607
|
-
} | undefined;
|
|
2608
2819
|
name: string;
|
|
2609
2820
|
standardFlag: number;
|
|
2610
2821
|
description: string;
|
|
@@ -2790,6 +3001,7 @@ export declare function useHover(): {
|
|
|
2790
3001
|
removeXData: (appId: string) => void;
|
|
2791
3002
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
2792
3003
|
close: () => void;
|
|
3004
|
+
clone: () => import('@mlightcad/data-model').AcDbRegAppTable;
|
|
2793
3005
|
dxfOut: (...args: unknown[]) => unknown;
|
|
2794
3006
|
};
|
|
2795
3007
|
readonly blockTable: {
|
|
@@ -2797,6 +3009,7 @@ export declare function useHover(): {
|
|
|
2797
3009
|
readonly isModelSapce: boolean;
|
|
2798
3010
|
readonly isPaperSapce: boolean;
|
|
2799
3011
|
origin: {
|
|
3012
|
+
clone: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
2800
3013
|
x: number;
|
|
2801
3014
|
y: number;
|
|
2802
3015
|
z: number;
|
|
@@ -2807,7 +3020,6 @@ export declare function useHover(): {
|
|
|
2807
3020
|
setZ: (z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
2808
3021
|
setComponent: (index: number, value: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
2809
3022
|
getComponent: (index: number) => number;
|
|
2810
|
-
clone: () => import('@mlightcad/data-model').AcGeVector3d;
|
|
2811
3023
|
copy: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
2812
3024
|
add: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
2813
3025
|
addScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
@@ -2935,6 +3147,7 @@ export declare function useHover(): {
|
|
|
2935
3147
|
removeXData: (appId: string) => void;
|
|
2936
3148
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
2937
3149
|
close: () => void;
|
|
3150
|
+
clone: () => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
2938
3151
|
dxfOut: (...args: unknown[]) => unknown;
|
|
2939
3152
|
};
|
|
2940
3153
|
getEntityById: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbEntity | undefined;
|
|
@@ -3003,6 +3216,7 @@ export declare function useHover(): {
|
|
|
3003
3216
|
removeXData: (appId: string) => void;
|
|
3004
3217
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3005
3218
|
close: () => void;
|
|
3219
|
+
clone: () => import('@mlightcad/data-model').AcDbBlockTable;
|
|
3006
3220
|
dxfOut: (...args: unknown[]) => unknown;
|
|
3007
3221
|
};
|
|
3008
3222
|
readonly dimStyleTable: {
|
|
@@ -3070,6 +3284,7 @@ export declare function useHover(): {
|
|
|
3070
3284
|
removeXData: (appId: string) => void;
|
|
3071
3285
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3072
3286
|
close: () => void;
|
|
3287
|
+
clone: () => import('@mlightcad/data-model').AcDbDimStyleTable;
|
|
3073
3288
|
dxfOut: (...args: unknown[]) => unknown;
|
|
3074
3289
|
};
|
|
3075
3290
|
readonly linetypeTable: {
|
|
@@ -3137,6 +3352,7 @@ export declare function useHover(): {
|
|
|
3137
3352
|
removeXData: (appId: string) => void;
|
|
3138
3353
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3139
3354
|
close: () => void;
|
|
3355
|
+
clone: () => import('@mlightcad/data-model').AcDbLinetypeTable;
|
|
3140
3356
|
dxfOut: (...args: unknown[]) => unknown;
|
|
3141
3357
|
};
|
|
3142
3358
|
readonly textStyleTable: {
|
|
@@ -3205,6 +3421,7 @@ export declare function useHover(): {
|
|
|
3205
3421
|
removeXData: (appId: string) => void;
|
|
3206
3422
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3207
3423
|
close: () => void;
|
|
3424
|
+
clone: () => import('@mlightcad/data-model').AcDbTextStyleTable;
|
|
3208
3425
|
dxfOut: (...args: unknown[]) => unknown;
|
|
3209
3426
|
};
|
|
3210
3427
|
readonly viewTable: {
|
|
@@ -3272,6 +3489,7 @@ export declare function useHover(): {
|
|
|
3272
3489
|
removeXData: (appId: string) => void;
|
|
3273
3490
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3274
3491
|
close: () => void;
|
|
3492
|
+
clone: () => import('@mlightcad/data-model').AcDbViewTable;
|
|
3275
3493
|
dxfOut: (...args: unknown[]) => unknown;
|
|
3276
3494
|
};
|
|
3277
3495
|
readonly layerTable: {
|
|
@@ -3339,6 +3557,7 @@ export declare function useHover(): {
|
|
|
3339
3557
|
removeXData: (appId: string) => void;
|
|
3340
3558
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3341
3559
|
close: () => void;
|
|
3560
|
+
clone: () => import('@mlightcad/data-model').AcDbLayerTable;
|
|
3342
3561
|
dxfOut: (...args: unknown[]) => unknown;
|
|
3343
3562
|
};
|
|
3344
3563
|
readonly viewportTable: {
|
|
@@ -3406,6 +3625,7 @@ export declare function useHover(): {
|
|
|
3406
3625
|
removeXData: (appId: string) => void;
|
|
3407
3626
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3408
3627
|
close: () => void;
|
|
3628
|
+
clone: () => import('@mlightcad/data-model').AcDbViewportTable;
|
|
3409
3629
|
dxfOut: (...args: unknown[]) => unknown;
|
|
3410
3630
|
};
|
|
3411
3631
|
};
|
|
@@ -3475,6 +3695,7 @@ export declare function useHover(): {
|
|
|
3475
3695
|
removeXData: (appId: string) => void;
|
|
3476
3696
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3477
3697
|
close: () => void;
|
|
3698
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>>>;
|
|
3478
3699
|
dxfOut: (...args: unknown[]) => unknown;
|
|
3479
3700
|
};
|
|
3480
3701
|
readonly imageDefinition: {
|
|
@@ -3542,6 +3763,7 @@ export declare function useHover(): {
|
|
|
3542
3763
|
removeXData: (appId: string) => void;
|
|
3543
3764
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3544
3765
|
close: () => void;
|
|
3766
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbRasterImageDef>;
|
|
3545
3767
|
dxfOut: (...args: unknown[]) => unknown;
|
|
3546
3768
|
};
|
|
3547
3769
|
readonly layout: {
|
|
@@ -3611,6 +3833,143 @@ export declare function useHover(): {
|
|
|
3611
3833
|
removeXData: (appId: string) => void;
|
|
3612
3834
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3613
3835
|
close: () => void;
|
|
3836
|
+
clone: () => import('@mlightcad/data-model').AcDbLayoutDictionary;
|
|
3837
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
3838
|
+
};
|
|
3839
|
+
readonly mleaderStyle: {
|
|
3840
|
+
readonly numEntries: number;
|
|
3841
|
+
setAt: (key: string, value: import('@mlightcad/data-model').AcDbMLeaderStyle) => void;
|
|
3842
|
+
remove: (name: string) => boolean;
|
|
3843
|
+
removeId: (id: string) => boolean;
|
|
3844
|
+
removeAll: () => void;
|
|
3845
|
+
has: (name: string) => boolean;
|
|
3846
|
+
hasId: (id: string) => boolean;
|
|
3847
|
+
getAt: (name: string) => import('@mlightcad/data-model').AcDbMLeaderStyle | undefined;
|
|
3848
|
+
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbMLeaderStyle | undefined;
|
|
3849
|
+
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbMLeaderStyle>;
|
|
3850
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbMLeaderStyle]>;
|
|
3851
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMLeaderStyle>;
|
|
3852
|
+
readonly attrs: {
|
|
3853
|
+
attributes: {
|
|
3854
|
+
[x: string]: any;
|
|
3855
|
+
objectId?: AcDbObjectId | undefined;
|
|
3856
|
+
ownerId?: AcDbObjectId | undefined;
|
|
3857
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
3858
|
+
};
|
|
3859
|
+
changed: {
|
|
3860
|
+
[x: string]: any;
|
|
3861
|
+
objectId?: AcDbObjectId | undefined;
|
|
3862
|
+
ownerId?: AcDbObjectId | undefined;
|
|
3863
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
3864
|
+
};
|
|
3865
|
+
readonly events: {
|
|
3866
|
+
attrChanged: {
|
|
3867
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3868
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3869
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3870
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
3871
|
+
};
|
|
3872
|
+
modelChanged: {
|
|
3873
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3874
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3875
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3876
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
3877
|
+
};
|
|
3878
|
+
};
|
|
3879
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined;
|
|
3880
|
+
set: {
|
|
3881
|
+
<A extends string>(key: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3882
|
+
(key: Partial<import('@mlightcad/data-model').AcDbObjectAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3883
|
+
};
|
|
3884
|
+
has: (key: string) => boolean;
|
|
3885
|
+
hasChanged: (key?: string | undefined) => boolean;
|
|
3886
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3887
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | null | undefined;
|
|
3888
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3889
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3890
|
+
};
|
|
3891
|
+
getAttr: (attrName: string) => any;
|
|
3892
|
+
getAttrWithoutException: (attrName: string) => any;
|
|
3893
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
3894
|
+
objectId: AcDbObjectId;
|
|
3895
|
+
readonly isTemp: any;
|
|
3896
|
+
ownerId: AcDbObjectId;
|
|
3897
|
+
extensionDictionary: AcDbObjectId | undefined;
|
|
3898
|
+
database: /*elided*/ any;
|
|
3899
|
+
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
3900
|
+
setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
|
|
3901
|
+
removeXData: (appId: string) => void;
|
|
3902
|
+
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3903
|
+
close: () => void;
|
|
3904
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMLeaderStyle>;
|
|
3905
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
3906
|
+
};
|
|
3907
|
+
readonly mlineStyle: {
|
|
3908
|
+
readonly numEntries: number;
|
|
3909
|
+
setAt: (key: string, value: import('@mlightcad/data-model').AcDbMlineStyle) => void;
|
|
3910
|
+
remove: (name: string) => boolean;
|
|
3911
|
+
removeId: (id: string) => boolean;
|
|
3912
|
+
removeAll: () => void;
|
|
3913
|
+
has: (name: string) => boolean;
|
|
3914
|
+
hasId: (id: string) => boolean;
|
|
3915
|
+
getAt: (name: string) => import('@mlightcad/data-model').AcDbMlineStyle | undefined;
|
|
3916
|
+
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbMlineStyle | undefined;
|
|
3917
|
+
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbMlineStyle>;
|
|
3918
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbMlineStyle]>;
|
|
3919
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMlineStyle>;
|
|
3920
|
+
readonly attrs: {
|
|
3921
|
+
attributes: {
|
|
3922
|
+
[x: string]: any;
|
|
3923
|
+
objectId?: AcDbObjectId | undefined;
|
|
3924
|
+
ownerId?: AcDbObjectId | undefined;
|
|
3925
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
3926
|
+
};
|
|
3927
|
+
changed: {
|
|
3928
|
+
[x: string]: any;
|
|
3929
|
+
objectId?: AcDbObjectId | undefined;
|
|
3930
|
+
ownerId?: AcDbObjectId | undefined;
|
|
3931
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
3932
|
+
};
|
|
3933
|
+
readonly events: {
|
|
3934
|
+
attrChanged: {
|
|
3935
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3936
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3937
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3938
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
3939
|
+
};
|
|
3940
|
+
modelChanged: {
|
|
3941
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3942
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3943
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3944
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
3945
|
+
};
|
|
3946
|
+
};
|
|
3947
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined;
|
|
3948
|
+
set: {
|
|
3949
|
+
<A extends string>(key: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3950
|
+
(key: Partial<import('@mlightcad/data-model').AcDbObjectAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3951
|
+
};
|
|
3952
|
+
has: (key: string) => boolean;
|
|
3953
|
+
hasChanged: (key?: string | undefined) => boolean;
|
|
3954
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3955
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | null | undefined;
|
|
3956
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3957
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3958
|
+
};
|
|
3959
|
+
getAttr: (attrName: string) => any;
|
|
3960
|
+
getAttrWithoutException: (attrName: string) => any;
|
|
3961
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
3962
|
+
objectId: AcDbObjectId;
|
|
3963
|
+
readonly isTemp: any;
|
|
3964
|
+
ownerId: AcDbObjectId;
|
|
3965
|
+
extensionDictionary: AcDbObjectId | undefined;
|
|
3966
|
+
database: /*elided*/ any;
|
|
3967
|
+
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
3968
|
+
setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
|
|
3969
|
+
removeXData: (appId: string) => void;
|
|
3970
|
+
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3971
|
+
close: () => void;
|
|
3972
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMlineStyle>;
|
|
3614
3973
|
dxfOut: (...args: unknown[]) => unknown;
|
|
3615
3974
|
};
|
|
3616
3975
|
readonly xrecord: {
|
|
@@ -3678,6 +4037,7 @@ export declare function useHover(): {
|
|
|
3678
4037
|
removeXData: (appId: string) => void;
|
|
3679
4038
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3680
4039
|
close: () => void;
|
|
4040
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbXrecord>;
|
|
3681
4041
|
dxfOut: (...args: unknown[]) => unknown;
|
|
3682
4042
|
};
|
|
3683
4043
|
};
|
|
@@ -3722,12 +4082,104 @@ export declare function useHover(): {
|
|
|
3722
4082
|
toString: () => string;
|
|
3723
4083
|
};
|
|
3724
4084
|
celtscale: number;
|
|
4085
|
+
celtype: string;
|
|
3725
4086
|
celweight: import('@mlightcad/data-model').AcGiLineWeight;
|
|
4087
|
+
cetransparency: {
|
|
4088
|
+
method: import('@mlightcad/data-model').AcCmTransparencyMethod;
|
|
4089
|
+
alpha: number;
|
|
4090
|
+
percentage: number | undefined;
|
|
4091
|
+
readonly isByAlpha: boolean;
|
|
4092
|
+
readonly isByBlock: boolean;
|
|
4093
|
+
readonly isByLayer: boolean;
|
|
4094
|
+
readonly isClear: boolean;
|
|
4095
|
+
readonly isSolid: boolean;
|
|
4096
|
+
readonly isInvalid: boolean;
|
|
4097
|
+
serialize: () => number;
|
|
4098
|
+
clone: () => import('@mlightcad/data-model').AcCmTransparency;
|
|
4099
|
+
equals: (other: import('@mlightcad/data-model').AcCmTransparency) => boolean;
|
|
4100
|
+
toString: () => string;
|
|
4101
|
+
};
|
|
3726
4102
|
clayer: string;
|
|
4103
|
+
cmlstyle: string;
|
|
4104
|
+
cmlscale: number;
|
|
4105
|
+
cmleaderstyle: string;
|
|
4106
|
+
hpbackgroundcolor: {
|
|
4107
|
+
colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
|
|
4108
|
+
readonly red: number | undefined;
|
|
4109
|
+
readonly green: number | undefined;
|
|
4110
|
+
readonly blue: number | undefined;
|
|
4111
|
+
readonly RGB: number | undefined;
|
|
4112
|
+
setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
|
|
4113
|
+
setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
|
|
4114
|
+
setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
|
|
4115
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
|
|
4116
|
+
readonly hexColor: string | undefined;
|
|
4117
|
+
readonly cssColor: string | undefined;
|
|
4118
|
+
cssColorAlpha: (alpha: number) => string | undefined;
|
|
4119
|
+
colorIndex: number | undefined;
|
|
4120
|
+
readonly isByColor: boolean;
|
|
4121
|
+
readonly isByACI: boolean;
|
|
4122
|
+
readonly isForeground: boolean;
|
|
4123
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
4124
|
+
readonly isByLayer: boolean;
|
|
4125
|
+
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
4126
|
+
readonly isByBlock: boolean;
|
|
4127
|
+
setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
4128
|
+
colorName: string | undefined;
|
|
4129
|
+
clone: () => import('@mlightcad/data-model').AcCmColor;
|
|
4130
|
+
copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
|
|
4131
|
+
equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
|
|
4132
|
+
toString: () => string;
|
|
4133
|
+
};
|
|
4134
|
+
hpcolor: {
|
|
4135
|
+
colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
|
|
4136
|
+
readonly red: number | undefined;
|
|
4137
|
+
readonly green: number | undefined;
|
|
4138
|
+
readonly blue: number | undefined;
|
|
4139
|
+
readonly RGB: number | undefined;
|
|
4140
|
+
setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
|
|
4141
|
+
setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
|
|
4142
|
+
setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
|
|
4143
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
|
|
4144
|
+
readonly hexColor: string | undefined;
|
|
4145
|
+
readonly cssColor: string | undefined;
|
|
4146
|
+
cssColorAlpha: (alpha: number) => string | undefined;
|
|
4147
|
+
colorIndex: number | undefined;
|
|
4148
|
+
readonly isByColor: boolean;
|
|
4149
|
+
readonly isByACI: boolean;
|
|
4150
|
+
readonly isForeground: boolean;
|
|
4151
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
4152
|
+
readonly isByLayer: boolean;
|
|
4153
|
+
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
4154
|
+
readonly isByBlock: boolean;
|
|
4155
|
+
setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
4156
|
+
colorName: string | undefined;
|
|
4157
|
+
clone: () => import('@mlightcad/data-model').AcCmColor;
|
|
4158
|
+
copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
|
|
4159
|
+
equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
|
|
4160
|
+
toString: () => string;
|
|
4161
|
+
};
|
|
4162
|
+
hplayer: string;
|
|
4163
|
+
hptransparency: {
|
|
4164
|
+
method: import('@mlightcad/data-model').AcCmTransparencyMethod;
|
|
4165
|
+
alpha: number;
|
|
4166
|
+
percentage: number | undefined;
|
|
4167
|
+
readonly isByAlpha: boolean;
|
|
4168
|
+
readonly isByBlock: boolean;
|
|
4169
|
+
readonly isByLayer: boolean;
|
|
4170
|
+
readonly isClear: boolean;
|
|
4171
|
+
readonly isSolid: boolean;
|
|
4172
|
+
readonly isInvalid: boolean;
|
|
4173
|
+
serialize: () => number;
|
|
4174
|
+
clone: () => import('@mlightcad/data-model').AcCmTransparency;
|
|
4175
|
+
equals: (other: import('@mlightcad/data-model').AcCmTransparency) => boolean;
|
|
4176
|
+
toString: () => string;
|
|
4177
|
+
};
|
|
3727
4178
|
textstyle: string;
|
|
3728
4179
|
angBase: number;
|
|
3729
4180
|
angDir: number;
|
|
3730
4181
|
extmax: {
|
|
4182
|
+
clone: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3731
4183
|
x: number;
|
|
3732
4184
|
y: number;
|
|
3733
4185
|
z: number;
|
|
@@ -3738,7 +4190,6 @@ export declare function useHover(): {
|
|
|
3738
4190
|
setZ: (z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3739
4191
|
setComponent: (index: number, value: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3740
4192
|
getComponent: (index: number) => number;
|
|
3741
|
-
clone: () => import('@mlightcad/data-model').AcGeVector3d;
|
|
3742
4193
|
copy: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3743
4194
|
add: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3744
4195
|
addScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
@@ -3799,6 +4250,7 @@ export declare function useHover(): {
|
|
|
3799
4250
|
[Symbol.iterator]: () => Generator<number, void, unknown>;
|
|
3800
4251
|
};
|
|
3801
4252
|
extmin: {
|
|
4253
|
+
clone: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3802
4254
|
x: number;
|
|
3803
4255
|
y: number;
|
|
3804
4256
|
z: number;
|
|
@@ -3809,7 +4261,6 @@ export declare function useHover(): {
|
|
|
3809
4261
|
setZ: (z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3810
4262
|
setComponent: (index: number, value: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3811
4263
|
getComponent: (index: number) => number;
|
|
3812
|
-
clone: () => import('@mlightcad/data-model').AcGeVector3d;
|
|
3813
4264
|
copy: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3814
4265
|
add: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3815
4266
|
addScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
@@ -4188,6 +4639,7 @@ export declare function useHover(): {
|
|
|
4188
4639
|
dxfOut: (_fileName?: string, precision?: number, version?: import('@mlightcad/data-model').AcDbDwgVersion | string | number, _saveThumbnailImage?: boolean) => string;
|
|
4189
4640
|
regen: () => Promise<void>;
|
|
4190
4641
|
createDefaultData: (options?: import('@mlightcad/data-model').AcDbCreateDefaultDataOptions) => void;
|
|
4642
|
+
ensureEntityStyleDefaults: (entity: AcDbEntity) => void;
|
|
4191
4643
|
readonly attrs: {
|
|
4192
4644
|
attributes: {
|
|
4193
4645
|
[x: string]: any;
|
|
@@ -4240,6 +4692,7 @@ export declare function useHover(): {
|
|
|
4240
4692
|
removeXData: (appId: string) => void;
|
|
4241
4693
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
4242
4694
|
close: () => void;
|
|
4695
|
+
clone: () => import('@mlightcad/data-model').AcDbDatabase;
|
|
4243
4696
|
dxfOutFields: (_filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDatabase;
|
|
4244
4697
|
};
|
|
4245
4698
|
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
@@ -4247,6 +4700,7 @@ export declare function useHover(): {
|
|
|
4247
4700
|
removeXData: (appId: string) => void;
|
|
4248
4701
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
4249
4702
|
close: () => void;
|
|
4703
|
+
clone: () => AcDbEntity;
|
|
4250
4704
|
dxfOut: (...args: unknown[]) => unknown;
|
|
4251
4705
|
} | null>;
|
|
4252
4706
|
id: import('vue').Ref<string | null, string | null>;
|