@mlightcad/data-model 1.3.3 → 1.3.5

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.
Files changed (344) hide show
  1. package/dist/data-model.cjs +5 -0
  2. package/dist/data-model.js +25995 -0
  3. package/dist/dxf-parser-worker.js +1715 -0
  4. package/lib/base/AcDbHostApplicationServices.d.ts +96 -0
  5. package/lib/base/AcDbHostApplicationServices.d.ts.map +1 -0
  6. package/lib/base/AcDbHostApplicationServices.js +118 -0
  7. package/lib/base/AcDbHostApplicationServices.js.map +1 -0
  8. package/lib/base/AcDbObject.d.ts +205 -0
  9. package/lib/base/AcDbObject.d.ts.map +1 -0
  10. package/lib/base/AcDbObject.js +236 -0
  11. package/lib/base/AcDbObject.js.map +1 -0
  12. package/lib/base/index.d.ts +3 -0
  13. package/lib/base/index.d.ts.map +1 -0
  14. package/lib/base/index.js +3 -0
  15. package/lib/base/index.js.map +1 -0
  16. package/lib/converter/AcDbBatchProcessing.d.ts +146 -0
  17. package/lib/converter/AcDbBatchProcessing.d.ts.map +1 -0
  18. package/lib/converter/AcDbBatchProcessing.js +272 -0
  19. package/lib/converter/AcDbBatchProcessing.js.map +1 -0
  20. package/lib/converter/AcDbDxfConverter.d.ts +272 -0
  21. package/lib/converter/AcDbDxfConverter.d.ts.map +1 -0
  22. package/lib/converter/AcDbDxfConverter.js +883 -0
  23. package/lib/converter/AcDbDxfConverter.js.map +1 -0
  24. package/lib/converter/AcDbDxfParser.d.ts +23 -0
  25. package/lib/converter/AcDbDxfParser.d.ts.map +1 -0
  26. package/lib/converter/AcDbDxfParser.js +85 -0
  27. package/lib/converter/AcDbDxfParser.js.map +1 -0
  28. package/lib/converter/AcDbEntitiyConverter.d.ts +160 -0
  29. package/lib/converter/AcDbEntitiyConverter.d.ts.map +1 -0
  30. package/lib/converter/AcDbEntitiyConverter.js +708 -0
  31. package/lib/converter/AcDbEntitiyConverter.js.map +1 -0
  32. package/lib/converter/AcDbObjectConverter.d.ts +61 -0
  33. package/lib/converter/AcDbObjectConverter.d.ts.map +1 -0
  34. package/lib/converter/AcDbObjectConverter.js +91 -0
  35. package/lib/converter/AcDbObjectConverter.js.map +1 -0
  36. package/lib/converter/AcDbRegenerator.d.ts +101 -0
  37. package/lib/converter/AcDbRegenerator.d.ts.map +1 -0
  38. package/lib/converter/AcDbRegenerator.js +334 -0
  39. package/lib/converter/AcDbRegenerator.js.map +1 -0
  40. package/lib/converter/index.d.ts +5 -0
  41. package/lib/converter/index.d.ts.map +1 -0
  42. package/lib/converter/index.js +5 -0
  43. package/lib/converter/index.js.map +1 -0
  44. package/lib/converter/worker/AcDbBaseWorker.d.ts +36 -0
  45. package/lib/converter/worker/AcDbBaseWorker.d.ts.map +1 -0
  46. package/lib/converter/worker/AcDbBaseWorker.js +93 -0
  47. package/lib/converter/worker/AcDbBaseWorker.js.map +1 -0
  48. package/lib/converter/worker/AcDbDxfParserWorker.d.ts +11 -0
  49. package/lib/converter/worker/AcDbDxfParserWorker.d.ts.map +1 -0
  50. package/lib/converter/worker/AcDbDxfParserWorker.js +75 -0
  51. package/lib/converter/worker/AcDbDxfParserWorker.js.map +1 -0
  52. package/lib/converter/worker/AcDbWorkerManager.d.ts +107 -0
  53. package/lib/converter/worker/AcDbWorkerManager.d.ts.map +1 -0
  54. package/lib/converter/worker/AcDbWorkerManager.js +360 -0
  55. package/lib/converter/worker/AcDbWorkerManager.js.map +1 -0
  56. package/lib/converter/worker/index.d.ts +3 -0
  57. package/lib/converter/worker/index.d.ts.map +1 -0
  58. package/lib/converter/worker/index.js +3 -0
  59. package/lib/converter/worker/index.js.map +1 -0
  60. package/lib/database/AcDbBlockTable.d.ts +56 -0
  61. package/lib/database/AcDbBlockTable.d.ts.map +1 -0
  62. package/lib/database/AcDbBlockTable.js +98 -0
  63. package/lib/database/AcDbBlockTable.js.map +1 -0
  64. package/lib/database/AcDbBlockTableRecord.d.ts +185 -0
  65. package/lib/database/AcDbBlockTableRecord.d.ts.map +1 -0
  66. package/lib/database/AcDbBlockTableRecord.js +261 -0
  67. package/lib/database/AcDbBlockTableRecord.js.map +1 -0
  68. package/lib/database/AcDbDatabase.d.ts +563 -0
  69. package/lib/database/AcDbDatabase.d.ts.map +1 -0
  70. package/lib/database/AcDbDatabase.js +842 -0
  71. package/lib/database/AcDbDatabase.js.map +1 -0
  72. package/lib/database/AcDbDatabaseConverter.d.ts +292 -0
  73. package/lib/database/AcDbDatabaseConverter.d.ts.map +1 -0
  74. package/lib/database/AcDbDatabaseConverter.js +448 -0
  75. package/lib/database/AcDbDatabaseConverter.js.map +1 -0
  76. package/lib/database/AcDbDatabaseConverterManager.d.ts +141 -0
  77. package/lib/database/AcDbDatabaseConverterManager.d.ts.map +1 -0
  78. package/lib/database/AcDbDatabaseConverterManager.js +173 -0
  79. package/lib/database/AcDbDatabaseConverterManager.js.map +1 -0
  80. package/lib/database/AcDbDimStyleTable.d.ts +31 -0
  81. package/lib/database/AcDbDimStyleTable.d.ts.map +1 -0
  82. package/lib/database/AcDbDimStyleTable.js +49 -0
  83. package/lib/database/AcDbDimStyleTable.js.map +1 -0
  84. package/lib/database/AcDbDimStyleTableRecord.d.ts +797 -0
  85. package/lib/database/AcDbDimStyleTableRecord.d.ts.map +1 -0
  86. package/lib/database/AcDbDimStyleTableRecord.js +1294 -0
  87. package/lib/database/AcDbDimStyleTableRecord.js.map +1 -0
  88. package/lib/database/AcDbDwgVersion.d.ts +32 -0
  89. package/lib/database/AcDbDwgVersion.d.ts.map +1 -0
  90. package/lib/database/AcDbDwgVersion.js +126 -0
  91. package/lib/database/AcDbDwgVersion.js.map +1 -0
  92. package/lib/database/AcDbLayerTable.d.ts +51 -0
  93. package/lib/database/AcDbLayerTable.d.ts.map +1 -0
  94. package/lib/database/AcDbLayerTable.js +92 -0
  95. package/lib/database/AcDbLayerTable.js.map +1 -0
  96. package/lib/database/AcDbLayerTableRecord.d.ts +278 -0
  97. package/lib/database/AcDbLayerTableRecord.d.ts.map +1 -0
  98. package/lib/database/AcDbLayerTableRecord.js +397 -0
  99. package/lib/database/AcDbLayerTableRecord.js.map +1 -0
  100. package/lib/database/AcDbLinetypeTable.d.ts +30 -0
  101. package/lib/database/AcDbLinetypeTable.d.ts.map +1 -0
  102. package/lib/database/AcDbLinetypeTable.js +48 -0
  103. package/lib/database/AcDbLinetypeTable.js.map +1 -0
  104. package/lib/database/AcDbLinetypeTableRecord.d.ts +79 -0
  105. package/lib/database/AcDbLinetypeTableRecord.d.ts.map +1 -0
  106. package/lib/database/AcDbLinetypeTableRecord.js +129 -0
  107. package/lib/database/AcDbLinetypeTableRecord.js.map +1 -0
  108. package/lib/database/AcDbSymbolTable.d.ts +199 -0
  109. package/lib/database/AcDbSymbolTable.d.ts.map +1 -0
  110. package/lib/database/AcDbSymbolTable.js +264 -0
  111. package/lib/database/AcDbSymbolTable.js.map +1 -0
  112. package/lib/database/AcDbSymbolTableRecord.d.ts +61 -0
  113. package/lib/database/AcDbSymbolTableRecord.d.ts.map +1 -0
  114. package/lib/database/AcDbSymbolTableRecord.js +82 -0
  115. package/lib/database/AcDbSymbolTableRecord.js.map +1 -0
  116. package/lib/database/AcDbTextStyleTable.d.ts +48 -0
  117. package/lib/database/AcDbTextStyleTable.d.ts.map +1 -0
  118. package/lib/database/AcDbTextStyleTable.js +112 -0
  119. package/lib/database/AcDbTextStyleTable.js.map +1 -0
  120. package/lib/database/AcDbTextStyleTableRecord.d.ts +179 -0
  121. package/lib/database/AcDbTextStyleTableRecord.d.ts.map +1 -0
  122. package/lib/database/AcDbTextStyleTableRecord.js +276 -0
  123. package/lib/database/AcDbTextStyleTableRecord.js.map +1 -0
  124. package/lib/database/AcDbViewportTable.d.ts +31 -0
  125. package/lib/database/AcDbViewportTable.d.ts.map +1 -0
  126. package/lib/database/AcDbViewportTable.js +49 -0
  127. package/lib/database/AcDbViewportTable.js.map +1 -0
  128. package/lib/database/AcDbViewportTableRecord.d.ts +154 -0
  129. package/lib/database/AcDbViewportTableRecord.d.ts.map +1 -0
  130. package/lib/database/AcDbViewportTableRecord.js +318 -0
  131. package/lib/database/AcDbViewportTableRecord.js.map +1 -0
  132. package/lib/database/index.d.ts +19 -0
  133. package/lib/database/index.d.ts.map +1 -0
  134. package/lib/database/index.js +19 -0
  135. package/lib/database/index.js.map +1 -0
  136. package/lib/entity/AcDb2dPolyline.d.ts +146 -0
  137. package/lib/entity/AcDb2dPolyline.d.ts.map +1 -0
  138. package/lib/entity/AcDb2dPolyline.js +220 -0
  139. package/lib/entity/AcDb2dPolyline.js.map +1 -0
  140. package/lib/entity/AcDb2dVertex.d.ts +143 -0
  141. package/lib/entity/AcDb2dVertex.d.ts.map +1 -0
  142. package/lib/entity/AcDb2dVertex.js +210 -0
  143. package/lib/entity/AcDb2dVertex.js.map +1 -0
  144. package/lib/entity/AcDb3dPolyline.d.ts +102 -0
  145. package/lib/entity/AcDb3dPolyline.d.ts.map +1 -0
  146. package/lib/entity/AcDb3dPolyline.js +158 -0
  147. package/lib/entity/AcDb3dPolyline.js.map +1 -0
  148. package/lib/entity/AcDb3dVertex.d.ts +83 -0
  149. package/lib/entity/AcDb3dVertex.d.ts.map +1 -0
  150. package/lib/entity/AcDb3dVertex.js +133 -0
  151. package/lib/entity/AcDb3dVertex.js.map +1 -0
  152. package/lib/entity/AcDbArc.d.ts +254 -0
  153. package/lib/entity/AcDbArc.d.ts.map +1 -0
  154. package/lib/entity/AcDbArc.js +340 -0
  155. package/lib/entity/AcDbArc.js.map +1 -0
  156. package/lib/entity/AcDbBlockReference.d.ts +190 -0
  157. package/lib/entity/AcDbBlockReference.d.ts.map +1 -0
  158. package/lib/entity/AcDbBlockReference.js +302 -0
  159. package/lib/entity/AcDbBlockReference.js.map +1 -0
  160. package/lib/entity/AcDbCircle.d.ts +186 -0
  161. package/lib/entity/AcDbCircle.d.ts.map +1 -0
  162. package/lib/entity/AcDbCircle.js +249 -0
  163. package/lib/entity/AcDbCircle.js.map +1 -0
  164. package/lib/entity/AcDbCurve.d.ts +42 -0
  165. package/lib/entity/AcDbCurve.d.ts.map +1 -0
  166. package/lib/entity/AcDbCurve.js +44 -0
  167. package/lib/entity/AcDbCurve.js.map +1 -0
  168. package/lib/entity/AcDbEllipse.d.ts +207 -0
  169. package/lib/entity/AcDbEllipse.d.ts.map +1 -0
  170. package/lib/entity/AcDbEllipse.js +272 -0
  171. package/lib/entity/AcDbEllipse.js.map +1 -0
  172. package/lib/entity/AcDbEntity.d.ts +385 -0
  173. package/lib/entity/AcDbEntity.d.ts.map +1 -0
  174. package/lib/entity/AcDbEntity.js +561 -0
  175. package/lib/entity/AcDbEntity.js.map +1 -0
  176. package/lib/entity/AcDbFace.d.ts +151 -0
  177. package/lib/entity/AcDbFace.d.ts.map +1 -0
  178. package/lib/entity/AcDbFace.js +224 -0
  179. package/lib/entity/AcDbFace.js.map +1 -0
  180. package/lib/entity/AcDbHatch.d.ts +174 -0
  181. package/lib/entity/AcDbHatch.d.ts.map +1 -0
  182. package/lib/entity/AcDbHatch.js +250 -0
  183. package/lib/entity/AcDbHatch.js.map +1 -0
  184. package/lib/entity/AcDbLeader.d.ts +243 -0
  185. package/lib/entity/AcDbLeader.d.ts.map +1 -0
  186. package/lib/entity/AcDbLeader.js +358 -0
  187. package/lib/entity/AcDbLeader.js.map +1 -0
  188. package/lib/entity/AcDbLine.d.ts +198 -0
  189. package/lib/entity/AcDbLine.d.ts.map +1 -0
  190. package/lib/entity/AcDbLine.js +300 -0
  191. package/lib/entity/AcDbLine.js.map +1 -0
  192. package/lib/entity/AcDbMText.d.ts +248 -0
  193. package/lib/entity/AcDbMText.d.ts.map +1 -0
  194. package/lib/entity/AcDbMText.js +414 -0
  195. package/lib/entity/AcDbMText.js.map +1 -0
  196. package/lib/entity/AcDbPoint.d.ts +113 -0
  197. package/lib/entity/AcDbPoint.d.ts.map +1 -0
  198. package/lib/entity/AcDbPoint.js +155 -0
  199. package/lib/entity/AcDbPoint.js.map +1 -0
  200. package/lib/entity/AcDbPolyline.d.ts +221 -0
  201. package/lib/entity/AcDbPolyline.d.ts.map +1 -0
  202. package/lib/entity/AcDbPolyline.js +301 -0
  203. package/lib/entity/AcDbPolyline.js.map +1 -0
  204. package/lib/entity/AcDbRasterImage.d.ts +216 -0
  205. package/lib/entity/AcDbRasterImage.d.ts.map +1 -0
  206. package/lib/entity/AcDbRasterImage.js +451 -0
  207. package/lib/entity/AcDbRasterImage.js.map +1 -0
  208. package/lib/entity/AcDbRay.d.ts +150 -0
  209. package/lib/entity/AcDbRay.d.ts.map +1 -0
  210. package/lib/entity/AcDbRay.js +208 -0
  211. package/lib/entity/AcDbRay.js.map +1 -0
  212. package/lib/entity/AcDbSpline.d.ts +135 -0
  213. package/lib/entity/AcDbSpline.d.ts.map +1 -0
  214. package/lib/entity/AcDbSpline.js +142 -0
  215. package/lib/entity/AcDbSpline.js.map +1 -0
  216. package/lib/entity/AcDbTable.d.ts +260 -0
  217. package/lib/entity/AcDbTable.d.ts.map +1 -0
  218. package/lib/entity/AcDbTable.js +452 -0
  219. package/lib/entity/AcDbTable.js.map +1 -0
  220. package/lib/entity/AcDbText.d.ts +388 -0
  221. package/lib/entity/AcDbText.d.ts.map +1 -0
  222. package/lib/entity/AcDbText.js +523 -0
  223. package/lib/entity/AcDbText.js.map +1 -0
  224. package/lib/entity/AcDbTrace.d.ts +193 -0
  225. package/lib/entity/AcDbTrace.d.ts.map +1 -0
  226. package/lib/entity/AcDbTrace.js +271 -0
  227. package/lib/entity/AcDbTrace.js.map +1 -0
  228. package/lib/entity/AcDbViewport.d.ts +173 -0
  229. package/lib/entity/AcDbViewport.d.ts.map +1 -0
  230. package/lib/entity/AcDbViewport.js +295 -0
  231. package/lib/entity/AcDbViewport.js.map +1 -0
  232. package/lib/entity/AcDbWipeout.d.ts +39 -0
  233. package/lib/entity/AcDbWipeout.d.ts.map +1 -0
  234. package/lib/entity/AcDbWipeout.js +70 -0
  235. package/lib/entity/AcDbWipeout.js.map +1 -0
  236. package/lib/entity/AcDbXline.d.ts +151 -0
  237. package/lib/entity/AcDbXline.d.ts.map +1 -0
  238. package/lib/entity/AcDbXline.js +209 -0
  239. package/lib/entity/AcDbXline.js.map +1 -0
  240. package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts +92 -0
  241. package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts.map +1 -0
  242. package/lib/entity/dimension/AcDb3PointAngularDimension.js +157 -0
  243. package/lib/entity/dimension/AcDb3PointAngularDimension.js.map +1 -0
  244. package/lib/entity/dimension/AcDbAlignedDimension.d.ts +220 -0
  245. package/lib/entity/dimension/AcDbAlignedDimension.d.ts.map +1 -0
  246. package/lib/entity/dimension/AcDbAlignedDimension.js +341 -0
  247. package/lib/entity/dimension/AcDbAlignedDimension.js.map +1 -0
  248. package/lib/entity/dimension/AcDbArcDimension.d.ts +94 -0
  249. package/lib/entity/dimension/AcDbArcDimension.d.ts.map +1 -0
  250. package/lib/entity/dimension/AcDbArcDimension.js +159 -0
  251. package/lib/entity/dimension/AcDbArcDimension.js.map +1 -0
  252. package/lib/entity/dimension/AcDbDiametricDimension.d.ts +145 -0
  253. package/lib/entity/dimension/AcDbDiametricDimension.d.ts.map +1 -0
  254. package/lib/entity/dimension/AcDbDiametricDimension.js +275 -0
  255. package/lib/entity/dimension/AcDbDiametricDimension.js.map +1 -0
  256. package/lib/entity/dimension/AcDbDimension.d.ts +257 -0
  257. package/lib/entity/dimension/AcDbDimension.d.ts.map +1 -0
  258. package/lib/entity/dimension/AcDbDimension.js +466 -0
  259. package/lib/entity/dimension/AcDbDimension.js.map +1 -0
  260. package/lib/entity/dimension/AcDbOrdinateDimension.d.ts +78 -0
  261. package/lib/entity/dimension/AcDbOrdinateDimension.d.ts.map +1 -0
  262. package/lib/entity/dimension/AcDbOrdinateDimension.js +133 -0
  263. package/lib/entity/dimension/AcDbOrdinateDimension.js.map +1 -0
  264. package/lib/entity/dimension/AcDbRadialDimension.d.ts +214 -0
  265. package/lib/entity/dimension/AcDbRadialDimension.d.ts.map +1 -0
  266. package/lib/entity/dimension/AcDbRadialDimension.js +288 -0
  267. package/lib/entity/dimension/AcDbRadialDimension.js.map +1 -0
  268. package/lib/entity/dimension/index.d.ts +8 -0
  269. package/lib/entity/dimension/index.d.ts.map +1 -0
  270. package/lib/entity/dimension/index.js +8 -0
  271. package/lib/entity/dimension/index.js.map +1 -0
  272. package/lib/entity/index.d.ts +28 -0
  273. package/lib/entity/index.d.ts.map +1 -0
  274. package/lib/entity/index.js +28 -0
  275. package/lib/entity/index.js.map +1 -0
  276. package/lib/index.d.ts +10 -0
  277. package/lib/index.d.ts.map +1 -0
  278. package/lib/index.js +10 -0
  279. package/lib/index.js.map +1 -0
  280. package/lib/misc/AcDbAngleUnits.d.ts +20 -0
  281. package/lib/misc/AcDbAngleUnits.d.ts.map +1 -0
  282. package/lib/misc/AcDbAngleUnits.js +21 -0
  283. package/lib/misc/AcDbAngleUnits.js.map +1 -0
  284. package/lib/misc/AcDbCodePage.d.ts +50 -0
  285. package/lib/misc/AcDbCodePage.d.ts.map +1 -0
  286. package/lib/misc/AcDbCodePage.js +100 -0
  287. package/lib/misc/AcDbCodePage.js.map +1 -0
  288. package/lib/misc/AcDbConstants.d.ts +24 -0
  289. package/lib/misc/AcDbConstants.d.ts.map +1 -0
  290. package/lib/misc/AcDbConstants.js +24 -0
  291. package/lib/misc/AcDbConstants.js.map +1 -0
  292. package/lib/misc/AcDbDimArrowType.d.ts +89 -0
  293. package/lib/misc/AcDbDimArrowType.d.ts.map +1 -0
  294. package/lib/misc/AcDbDimArrowType.js +90 -0
  295. package/lib/misc/AcDbDimArrowType.js.map +1 -0
  296. package/lib/misc/AcDbObjectIterator.d.ts +64 -0
  297. package/lib/misc/AcDbObjectIterator.d.ts.map +1 -0
  298. package/lib/misc/AcDbObjectIterator.js +84 -0
  299. package/lib/misc/AcDbObjectIterator.js.map +1 -0
  300. package/lib/misc/AcDbOsnapMode.d.ts +51 -0
  301. package/lib/misc/AcDbOsnapMode.d.ts.map +1 -0
  302. package/lib/misc/AcDbOsnapMode.js +52 -0
  303. package/lib/misc/AcDbOsnapMode.js.map +1 -0
  304. package/lib/misc/AcDbRenderingCache.d.ts +141 -0
  305. package/lib/misc/AcDbRenderingCache.d.ts.map +1 -0
  306. package/lib/misc/AcDbRenderingCache.js +239 -0
  307. package/lib/misc/AcDbRenderingCache.js.map +1 -0
  308. package/lib/misc/AcDbUnitsValue.d.ts +101 -0
  309. package/lib/misc/AcDbUnitsValue.d.ts.map +1 -0
  310. package/lib/misc/AcDbUnitsValue.js +121 -0
  311. package/lib/misc/AcDbUnitsValue.js.map +1 -0
  312. package/lib/misc/index.d.ts +9 -0
  313. package/lib/misc/index.d.ts.map +1 -0
  314. package/lib/misc/index.js +9 -0
  315. package/lib/misc/index.js.map +1 -0
  316. package/lib/object/AcDbDictionary.d.ts +178 -0
  317. package/lib/object/AcDbDictionary.d.ts.map +1 -0
  318. package/lib/object/AcDbDictionary.js +264 -0
  319. package/lib/object/AcDbDictionary.js.map +1 -0
  320. package/lib/object/AcDbRasterImageDef.d.ts +54 -0
  321. package/lib/object/AcDbRasterImageDef.d.ts.map +1 -0
  322. package/lib/object/AcDbRasterImageDef.js +82 -0
  323. package/lib/object/AcDbRasterImageDef.js.map +1 -0
  324. package/lib/object/index.d.ts +4 -0
  325. package/lib/object/index.d.ts.map +1 -0
  326. package/lib/object/index.js +4 -0
  327. package/lib/object/index.js.map +1 -0
  328. package/lib/object/layout/AcDbLayout.d.ts +190 -0
  329. package/lib/object/layout/AcDbLayout.d.ts.map +1 -0
  330. package/lib/object/layout/AcDbLayout.js +253 -0
  331. package/lib/object/layout/AcDbLayout.js.map +1 -0
  332. package/lib/object/layout/AcDbLayoutDictionary.d.ts +47 -0
  333. package/lib/object/layout/AcDbLayoutDictionary.d.ts.map +1 -0
  334. package/lib/object/layout/AcDbLayoutDictionary.js +122 -0
  335. package/lib/object/layout/AcDbLayoutDictionary.js.map +1 -0
  336. package/lib/object/layout/AcDbLayoutManager.d.ts +188 -0
  337. package/lib/object/layout/AcDbLayoutManager.d.ts.map +1 -0
  338. package/lib/object/layout/AcDbLayoutManager.js +245 -0
  339. package/lib/object/layout/AcDbLayoutManager.js.map +1 -0
  340. package/lib/object/layout/index.d.ts +4 -0
  341. package/lib/object/layout/index.d.ts.map +1 -0
  342. package/lib/object/layout/index.js +4 -0
  343. package/lib/object/layout/index.js.map +1 -0
  344. package/package.json +4 -4
@@ -0,0 +1,264 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ if (typeof b !== "function" && b !== null)
10
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
11
+ extendStatics(d, b);
12
+ function __() { this.constructor = d; }
13
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
14
+ };
15
+ })();
16
+ import { AcDbObject } from '../base';
17
+ import { AcDbObjectIterator } from '../misc';
18
+ /**
19
+ * A database-resident object dictionary that maintains a map between text strings and database objects.
20
+ *
21
+ * An instance of this class represents a single object, such as Drawing Symbol Table, to which objects
22
+ * derived from AcDbObject may be added, accessed, and removed. Entries in an AcDbDictionary must be unique.
23
+ * Entries consist of a unique AcDbObject and string, which comprises the entry's key name. The key may be
24
+ * either a text string, or an asterisk ('*') as the first character in the string to signify an anonymous
25
+ * entry. An anonymous entry's key will be constructed internally by appending an 'A' plus a unique integer
26
+ * value to the asterisk; for example, '*A13'. When an object is placed in a dictionary, the dictionary is
27
+ * established as the object's owner, the lookup key string is associated with the object's object ID, and
28
+ * the dictionary itself is attached to the object as a persistent reactor so that the dictionary is notified
29
+ * when the object is erased.
30
+ *
31
+ * @template TObjectType - The type of objects stored in this dictionary
32
+ *
33
+ * @example
34
+ * ```typescript
35
+ * const dictionary = new AcDbDictionary<AcDbLayout>(database);
36
+ * const layout = new AcDbLayout();
37
+ * dictionary.setAt('MyLayout', layout);
38
+ * const retrievedLayout = dictionary.getAt('MyLayout');
39
+ * ```
40
+ */
41
+ var AcDbDictionary = /** @class */ (function (_super) {
42
+ __extends(AcDbDictionary, _super);
43
+ /**
44
+ * Creates a new AcDbDictionary instance.
45
+ *
46
+ * @param db - The database this dictionary belongs to
47
+ *
48
+ * @example
49
+ * ```typescript
50
+ * const dictionary = new AcDbDictionary(database);
51
+ * ```
52
+ */
53
+ function AcDbDictionary(db) {
54
+ var _this = _super.call(this) || this;
55
+ _this.database = db;
56
+ _this._recordsByName = new Map();
57
+ _this._recordsById = new Map();
58
+ return _this;
59
+ }
60
+ Object.defineProperty(AcDbDictionary.prototype, "numEntries", {
61
+ /**
62
+ * Gets the number of entries in the dictionary.
63
+ *
64
+ * @returns The number of entries in the dictionary
65
+ *
66
+ * @example
67
+ * ```typescript
68
+ * const count = dictionary.numEntries;
69
+ * console.log(`Dictionary has ${count} entries`);
70
+ * ```
71
+ */
72
+ get: function () {
73
+ return this._recordsByName.size;
74
+ },
75
+ enumerable: false,
76
+ configurable: true
77
+ });
78
+ /**
79
+ * Adds a new entry to the dictionary.
80
+ *
81
+ * If an entry with the specified key already exists, the existing entry is erased
82
+ * and replaced with the new one.
83
+ *
84
+ * @param key - String representing the object's search key name
85
+ * @param value - The new object to add to the dictionary
86
+ *
87
+ * @example
88
+ * ```typescript
89
+ * const layout = new AcDbLayout();
90
+ * dictionary.setAt('MyLayout', layout);
91
+ * ```
92
+ */
93
+ AcDbDictionary.prototype.setAt = function (key, value) {
94
+ value.database = this.database;
95
+ this._recordsByName.set(key, value);
96
+ this._recordsById.set(value.objectId, value);
97
+ this.database.events.dictObjetSet.dispatch({
98
+ database: this.database,
99
+ object: value,
100
+ key: key
101
+ });
102
+ };
103
+ /**
104
+ * Removes the entry specified by name from the dictionary.
105
+ *
106
+ * @param name - String representing the entry's key (or name)
107
+ * @returns True if the entry was found and removed, false otherwise
108
+ *
109
+ * @example
110
+ * ```typescript
111
+ * const removed = dictionary.remove('MyLayout');
112
+ * if (removed) {
113
+ * console.log('Layout removed successfully');
114
+ * }
115
+ * ```
116
+ */
117
+ AcDbDictionary.prototype.remove = function (name) {
118
+ var object = this.getAt(name);
119
+ if (object) {
120
+ this._recordsByName.delete(name.toUpperCase());
121
+ this._recordsById.delete(this.objectId);
122
+ this.database.events.dictObjectErased.dispatch({
123
+ database: this.database,
124
+ object: object,
125
+ key: name
126
+ });
127
+ return true;
128
+ }
129
+ return false;
130
+ };
131
+ /**
132
+ * Removes the entry specified by object ID from the dictionary.
133
+ *
134
+ * @param id - ID of the object to delete
135
+ * @returns True if the entry was found and removed, false otherwise
136
+ *
137
+ * @example
138
+ * ```typescript
139
+ * const removed = dictionary.removeId('some-object-id');
140
+ * ```
141
+ */
142
+ AcDbDictionary.prototype.removeId = function (id) {
143
+ var _this = this;
144
+ var object = this.getIdAt(id);
145
+ if (object) {
146
+ this._recordsById.delete(this.objectId);
147
+ this._recordsByName.forEach(function (value, key) {
148
+ if (value === object) {
149
+ _this._recordsByName.delete(key);
150
+ _this.database.events.dictObjectErased.dispatch({
151
+ database: _this.database,
152
+ object: object,
153
+ key: key
154
+ });
155
+ }
156
+ });
157
+ return true;
158
+ }
159
+ return false;
160
+ };
161
+ /**
162
+ * Removes all records from the dictionary.
163
+ *
164
+ * @example
165
+ * ```typescript
166
+ * dictionary.removeAll();
167
+ * ```
168
+ */
169
+ AcDbDictionary.prototype.removeAll = function () {
170
+ var _this = this;
171
+ this._recordsByName.forEach(function (value, key) {
172
+ _this.database.events.dictObjectErased.dispatch({
173
+ database: _this.database,
174
+ object: value,
175
+ key: key
176
+ });
177
+ });
178
+ this._recordsByName.clear();
179
+ this._recordsById.clear();
180
+ };
181
+ /**
182
+ * Checks if the dictionary contains an object with the specified name.
183
+ *
184
+ * @param name - Name to search for
185
+ * @returns True if the dictionary contains an object with the specified name, false otherwise
186
+ *
187
+ * @example
188
+ * ```typescript
189
+ * if (dictionary.has('MyLayout')) {
190
+ * console.log('Layout exists');
191
+ * }
192
+ * ```
193
+ */
194
+ AcDbDictionary.prototype.has = function (name) {
195
+ return this._recordsByName.has(name.toUpperCase());
196
+ };
197
+ /**
198
+ * Checks if the dictionary contains an object with the specified ID.
199
+ *
200
+ * @param id - ID to search for
201
+ * @returns True if the dictionary contains an object with the specified ID, false otherwise
202
+ *
203
+ * @example
204
+ * ```typescript
205
+ * if (dictionary.hasId('some-object-id')) {
206
+ * console.log('Object exists');
207
+ * }
208
+ * ```
209
+ */
210
+ AcDbDictionary.prototype.hasId = function (id) {
211
+ return this._recordsById.has(id);
212
+ };
213
+ /**
214
+ * Gets the object with the specified name from the dictionary.
215
+ *
216
+ * @param name - Name of the object to retrieve
217
+ * @returns The object with the specified name, or undefined if not found
218
+ *
219
+ * @example
220
+ * ```typescript
221
+ * const layout = dictionary.getAt('MyLayout');
222
+ * if (layout) {
223
+ * console.log('Layout found:', layout);
224
+ * }
225
+ * ```
226
+ */
227
+ AcDbDictionary.prototype.getAt = function (name) {
228
+ return this._recordsByName.get(name);
229
+ };
230
+ /**
231
+ * Gets the object with the specified ID from the dictionary.
232
+ *
233
+ * @param id - ID of the object to retrieve
234
+ * @returns The object with the specified ID, or undefined if not found
235
+ *
236
+ * @example
237
+ * ```typescript
238
+ * const object = dictionary.getIdAt('some-object-id');
239
+ * ```
240
+ */
241
+ AcDbDictionary.prototype.getIdAt = function (id) {
242
+ return this._recordsById.get(id);
243
+ };
244
+ /**
245
+ * Creates a new iterator for traversing the dictionary entries.
246
+ *
247
+ * @returns A new AcDbObjectIterator for this dictionary
248
+ *
249
+ * @example
250
+ * ```typescript
251
+ * const iterator = dictionary.newIterator();
252
+ * while (iterator.hasNext()) {
253
+ * const object = iterator.next();
254
+ * console.log('Object:', object);
255
+ * }
256
+ * ```
257
+ */
258
+ AcDbDictionary.prototype.newIterator = function () {
259
+ return new AcDbObjectIterator(this._recordsByName);
260
+ };
261
+ return AcDbDictionary;
262
+ }(AcDbObject));
263
+ export { AcDbDictionary };
264
+ //# sourceMappingURL=AcDbDictionary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcDbDictionary.js","sourceRoot":"","sources":["../../src/object/AcDbDictionary.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,54 @@
1
+ import { AcDbObject } from '../base';
2
+ /**
3
+ * The AcDbRasterImageDef object (or "image definition object") works with the AcDbRasterImage entity
4
+ * (or "image entity") to implement raster images inside AutoCAD.
5
+ *
6
+ * The relationship between these two classes is much like the relationship between an AutoCAD block
7
+ * definition object and a block insert entity. The image definition object plays a behind-the-scenes
8
+ * role like the block definition, maintaining links to the source image file and managing low-level
9
+ * image processing operations required to display and plot images. Image definition objects are stored
10
+ * in a special AcDbDictionary named ISM_RASTER_IMAGE_DICT.
11
+ *
12
+ * @example
13
+ * ```typescript
14
+ * const imageDef = new AcDbRasterImageDef();
15
+ * imageDef.sourceFileName = '/path/to/image.jpg';
16
+ * ```
17
+ */
18
+ export declare class AcDbRasterImageDef extends AcDbObject {
19
+ /** The path name of the externally referenced image file */
20
+ private _sourceFileName;
21
+ /**
22
+ * Creates a new AcDbRasterImageDef instance.
23
+ *
24
+ * @example
25
+ * ```typescript
26
+ * const imageDef = new AcDbRasterImageDef();
27
+ * ```
28
+ */
29
+ constructor();
30
+ /**
31
+ * Gets the path name of the externally referenced image file.
32
+ *
33
+ * @returns The source file name/path
34
+ *
35
+ * @example
36
+ * ```typescript
37
+ * const fileName = imageDef.sourceFileName;
38
+ * console.log('Image file:', fileName);
39
+ * ```
40
+ */
41
+ get sourceFileName(): string;
42
+ /**
43
+ * Sets the path name of the externally referenced image file.
44
+ *
45
+ * @param value - The new source file name/path
46
+ *
47
+ * @example
48
+ * ```typescript
49
+ * imageDef.sourceFileName = '/path/to/image.jpg';
50
+ * ```
51
+ */
52
+ set sourceFileName(value: string);
53
+ }
54
+ //# sourceMappingURL=AcDbRasterImageDef.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcDbRasterImageDef.d.ts","sourceRoot":"","sources":["../../src/object/AcDbRasterImageDef.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEpC;;;;;;;;;;;;;;;GAeG;AACH,qBAAa,kBAAmB,SAAQ,UAAU;IAChD,4DAA4D;IAC5D,OAAO,CAAC,eAAe,CAAQ;IAE/B;;;;;;;OAOG;;IAMH;;;;;;;;;;OAUG;IACH,IAAI,cAAc,IAcQ,MAAM,CAZ/B;IAED;;;;;;;;;OASG;IACH,IAAI,cAAc,CAAC,KAAK,EAAE,MAAM,EAE/B;CACF"}
@@ -0,0 +1,82 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ if (typeof b !== "function" && b !== null)
10
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
11
+ extendStatics(d, b);
12
+ function __() { this.constructor = d; }
13
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
14
+ };
15
+ })();
16
+ import { AcDbObject } from '../base';
17
+ /**
18
+ * The AcDbRasterImageDef object (or "image definition object") works with the AcDbRasterImage entity
19
+ * (or "image entity") to implement raster images inside AutoCAD.
20
+ *
21
+ * The relationship between these two classes is much like the relationship between an AutoCAD block
22
+ * definition object and a block insert entity. The image definition object plays a behind-the-scenes
23
+ * role like the block definition, maintaining links to the source image file and managing low-level
24
+ * image processing operations required to display and plot images. Image definition objects are stored
25
+ * in a special AcDbDictionary named ISM_RASTER_IMAGE_DICT.
26
+ *
27
+ * @example
28
+ * ```typescript
29
+ * const imageDef = new AcDbRasterImageDef();
30
+ * imageDef.sourceFileName = '/path/to/image.jpg';
31
+ * ```
32
+ */
33
+ var AcDbRasterImageDef = /** @class */ (function (_super) {
34
+ __extends(AcDbRasterImageDef, _super);
35
+ /**
36
+ * Creates a new AcDbRasterImageDef instance.
37
+ *
38
+ * @example
39
+ * ```typescript
40
+ * const imageDef = new AcDbRasterImageDef();
41
+ * ```
42
+ */
43
+ function AcDbRasterImageDef() {
44
+ var _this = _super.call(this) || this;
45
+ _this._sourceFileName = '';
46
+ return _this;
47
+ }
48
+ Object.defineProperty(AcDbRasterImageDef.prototype, "sourceFileName", {
49
+ /**
50
+ * Gets the path name of the externally referenced image file.
51
+ *
52
+ * @returns The source file name/path
53
+ *
54
+ * @example
55
+ * ```typescript
56
+ * const fileName = imageDef.sourceFileName;
57
+ * console.log('Image file:', fileName);
58
+ * ```
59
+ */
60
+ get: function () {
61
+ return this._sourceFileName;
62
+ },
63
+ /**
64
+ * Sets the path name of the externally referenced image file.
65
+ *
66
+ * @param value - The new source file name/path
67
+ *
68
+ * @example
69
+ * ```typescript
70
+ * imageDef.sourceFileName = '/path/to/image.jpg';
71
+ * ```
72
+ */
73
+ set: function (value) {
74
+ this._sourceFileName = value;
75
+ },
76
+ enumerable: false,
77
+ configurable: true
78
+ });
79
+ return AcDbRasterImageDef;
80
+ }(AcDbObject));
81
+ export { AcDbRasterImageDef };
82
+ //# sourceMappingURL=AcDbRasterImageDef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcDbRasterImageDef.js","sourceRoot":"","sources":["../../src/object/AcDbRasterImageDef.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEpC;;;;;;;;;;;;;;;GAeG;AACH;IAAwC,sCAAU;IAIhD;;;;;;;OAOG;IACH;QACE,YAAA,MAAK,WAAE,SAAA;QACP,KAAI,CAAC,eAAe,GAAG,EAAE,CAAA;;IAC3B,CAAC;IAaD,sBAAI,8CAAc;QAXlB;;;;;;;;;;WAUG;aACH;YACE,OAAO,IAAI,CAAC,eAAe,CAAA;QAC7B,CAAC;QAED;;;;;;;;;WASG;aACH,UAAmB,KAAa;YAC9B,IAAI,CAAC,eAAe,GAAG,KAAK,CAAA;QAC9B,CAAC;;;OAdA;IAeH,yBAAC;AAAD,CAAC,AA7CD,CAAwC,UAAU,GA6CjD"}
@@ -0,0 +1,4 @@
1
+ export * from './layout';
2
+ export * from './AcDbDictionary';
3
+ export * from './AcDbRasterImageDef';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/object/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './layout';
2
+ export * from './AcDbDictionary';
3
+ export * from './AcDbRasterImageDef';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/object/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA"}
@@ -0,0 +1,190 @@
1
+ import { AcGeBox2d, AcGeBox3d } from '@mlightcad/geometry-engine';
2
+ import { AcDbObject } from '../../base';
3
+ /**
4
+ * Represents the stored characteristics of each paperspace layout.
5
+ *
6
+ * Layout objects are stored in an AcDbDictionary object with an ACAD_LAYOUT key,
7
+ * allowing easy iteration and indexing. Each layout represents a paperspace
8
+ * configuration that can be used for printing or plotting.
9
+ *
10
+ * @example
11
+ * ```typescript
12
+ * const layout = new AcDbLayout();
13
+ * layout.layoutName = 'A4 Landscape';
14
+ * layout.tabOrder = 1;
15
+ * layout.limits = new AcGeBox2d();
16
+ * ```
17
+ */
18
+ export declare class AcDbLayout extends AcDbObject {
19
+ /** The user-friendly layout name displayed in the tab control */
20
+ private _layoutName;
21
+ /** The tab order field controlling the display order */
22
+ private _tabOrder;
23
+ /** Flag indicating whether the layout tab is selected */
24
+ private _tabSelected;
25
+ /** The associated block table record ID of this layout */
26
+ private _blockTableRecordId;
27
+ /** Limits for this layout (defined by LIMMAX while this layout is current) */
28
+ private _limits;
29
+ /** The current extents setting of the layout */
30
+ private _extents;
31
+ /**
32
+ * Creates a new AcDbLayout instance.
33
+ *
34
+ * @example
35
+ * ```typescript
36
+ * const layout = new AcDbLayout();
37
+ * ```
38
+ */
39
+ constructor();
40
+ /**
41
+ * Gets the user-friendly layout name that is displayed in the tab control.
42
+ *
43
+ * Currently there is no restriction on the name except that the length
44
+ * is limited to 256 characters.
45
+ *
46
+ * @returns The layout name
47
+ *
48
+ * @example
49
+ * ```typescript
50
+ * const name = layout.layoutName;
51
+ * console.log('Layout name:', name);
52
+ * ```
53
+ */
54
+ get layoutName(): string;
55
+ /**
56
+ * Sets the user-friendly layout name that is displayed in the tab control.
57
+ *
58
+ * @param value - The new layout name (limited to 256 characters)
59
+ *
60
+ * @example
61
+ * ```typescript
62
+ * layout.layoutName = 'A4 Landscape';
63
+ * ```
64
+ */
65
+ set layoutName(value: string);
66
+ /**
67
+ * Gets the tab order field, which controls the order in which layouts are displayed.
68
+ *
69
+ * The tab order should be unique and sequential for each layout in the database.
70
+ *
71
+ * @returns The tab order value
72
+ *
73
+ * @example
74
+ * ```typescript
75
+ * const order = layout.tabOrder;
76
+ * ```
77
+ */
78
+ get tabOrder(): number;
79
+ /**
80
+ * Sets the tab order field, which controls the order in which layouts are displayed.
81
+ *
82
+ * @param value - The new tab order value
83
+ *
84
+ * @example
85
+ * ```typescript
86
+ * layout.tabOrder = 1;
87
+ * ```
88
+ */
89
+ set tabOrder(value: number);
90
+ /**
91
+ * Gets whether the layout tab is included in the selection set for operations.
92
+ *
93
+ * This flag indicates whether the layout tab is included in the selection set
94
+ * for operations that affect multiple tabs. The user can perform multiple
95
+ * selection via the user interface using shift-click.
96
+ *
97
+ * @returns True if the tab is selected, false otherwise
98
+ *
99
+ * @example
100
+ * ```typescript
101
+ * const isSelected = layout.tabSelected;
102
+ * ```
103
+ */
104
+ get tabSelected(): boolean;
105
+ /**
106
+ * Sets whether the layout tab is included in the selection set for operations.
107
+ *
108
+ * @param value - True to select the tab, false to deselect it
109
+ *
110
+ * @example
111
+ * ```typescript
112
+ * layout.tabSelected = true;
113
+ * ```
114
+ */
115
+ set tabSelected(value: boolean);
116
+ /**
117
+ * Gets the associated block table record ID of this layout.
118
+ *
119
+ * @returns The block table record ID
120
+ *
121
+ * @example
122
+ * ```typescript
123
+ * const blockId = layout.blockTableRecordId;
124
+ * ```
125
+ */
126
+ get blockTableRecordId(): string;
127
+ /**
128
+ * Sets the associated block table record ID of this layout.
129
+ *
130
+ * @param value - The new block table record ID
131
+ *
132
+ * @example
133
+ * ```typescript
134
+ * layout.blockTableRecordId = 'some-block-id';
135
+ * ```
136
+ */
137
+ set blockTableRecordId(value: string);
138
+ /**
139
+ * Gets the limits for this layout.
140
+ *
141
+ * Limits are defined by LIMMAX while this layout is current.
142
+ *
143
+ * @returns The layout limits as a 2D bounding box
144
+ *
145
+ * @example
146
+ * ```typescript
147
+ * const limits = layout.limits;
148
+ * console.log('Layout limits:', limits);
149
+ * ```
150
+ */
151
+ get limits(): AcGeBox2d;
152
+ /**
153
+ * Sets the limits for this layout.
154
+ *
155
+ * @param value - The new layout limits as a 2D bounding box
156
+ *
157
+ * @example
158
+ * ```typescript
159
+ * layout.limits = new AcGeBox2d();
160
+ * ```
161
+ */
162
+ set limits(value: AcGeBox2d);
163
+ /**
164
+ * Gets the current extents setting of the layout.
165
+ *
166
+ * This value may not be the actual extents of the geometry in the layout,
167
+ * it is just the value last saved in the layout.
168
+ *
169
+ * @returns The layout extents as a 3D bounding box
170
+ *
171
+ * @example
172
+ * ```typescript
173
+ * const extents = layout.extents;
174
+ * console.log('Layout extents:', extents);
175
+ * ```
176
+ */
177
+ get extents(): AcGeBox3d;
178
+ /**
179
+ * Sets the current extents setting of the layout.
180
+ *
181
+ * @param value - The new layout extents as a 3D bounding box
182
+ *
183
+ * @example
184
+ * ```typescript
185
+ * layout.extents = new AcGeBox3d();
186
+ * ```
187
+ */
188
+ set extents(value: AcGeBox3d);
189
+ }
190
+ //# sourceMappingURL=AcDbLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcDbLayout.d.ts","sourceRoot":"","sources":["../../../src/object/layout/AcDbLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAEjE,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAEvC;;;;;;;;;;;;;;GAcG;AACH,qBAAa,UAAW,SAAQ,UAAU;IACxC,iEAAiE;IACjE,OAAO,CAAC,WAAW,CAAQ;IAC3B,wDAAwD;IACxD,OAAO,CAAC,SAAS,CAAQ;IACzB,yDAAyD;IACzD,OAAO,CAAC,YAAY,CAAS;IAC7B,0DAA0D;IAC1D,OAAO,CAAC,mBAAmB,CAAQ;IACnC,8EAA8E;IAC9E,OAAO,CAAC,OAAO,CAAW;IAC1B,gDAAgD;IAChD,OAAO,CAAC,QAAQ,CAAW;IAE3B;;;;;;;OAOG;;IAWH;;;;;;;;;;;;;OAaG;IACH,IAAI,UAAU,IAcQ,MAAM,CAZ3B;IAED;;;;;;;;;OASG;IACH,IAAI,UAAU,CAAC,KAAK,EAAE,MAAM,EAE3B;IAED;;;;;;;;;;;OAWG;IACH,IAAI,QAAQ,IAcQ,MAAM,CAZzB;IAED;;;;;;;;;OASG;IACH,IAAI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,WAAW,IAcQ,OAAO,CAZ7B;IAED;;;;;;;;;OASG;IACH,IAAI,WAAW,CAAC,KAAK,EAAE,OAAO,EAE7B;IAED;;;;;;;;;OASG;IACH,IAAI,kBAAkB,IAcQ,MAAM,CAZnC;IAED;;;;;;;;;OASG;IACH,IAAI,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAEnC;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,MAAM,IAcQ,SAAS,CAZ1B;IAED;;;;;;;;;OASG;IACH,IAAI,MAAM,CAAC,KAAK,EAAE,SAAS,EAE1B;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,OAAO,IAcQ,SAAS,CAZ3B;IAED;;;;;;;;;OASG;IACH,IAAI,OAAO,CAAC,KAAK,EAAE,SAAS,EAE3B;CACF"}