@mlightcad/data-model 1.7.27 → 1.7.28

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 (64) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +224 -224
  3. package/dist/data-model.cjs +4 -3
  4. package/dist/data-model.js +5870 -3428
  5. package/dist/dxf-parser-worker.js +1002 -740
  6. package/lib/converter/AcDbDxfConverter.d.ts.map +1 -1
  7. package/lib/converter/AcDbDxfConverter.js +28 -0
  8. package/lib/converter/AcDbDxfConverter.js.map +1 -1
  9. package/lib/converter/AcDbEntitiyConverter.d.ts +12 -0
  10. package/lib/converter/AcDbEntitiyConverter.d.ts.map +1 -1
  11. package/lib/converter/AcDbEntitiyConverter.js +552 -3
  12. package/lib/converter/AcDbEntitiyConverter.js.map +1 -1
  13. package/lib/converter/AcDbObjectConverter.d.ts +10 -3
  14. package/lib/converter/AcDbObjectConverter.d.ts.map +1 -1
  15. package/lib/converter/AcDbObjectConverter.js +154 -1
  16. package/lib/converter/AcDbObjectConverter.js.map +1 -1
  17. package/lib/converter/AcDbRegenerator.d.ts.map +1 -1
  18. package/lib/converter/AcDbRegenerator.js +22 -4
  19. package/lib/converter/AcDbRegenerator.js.map +1 -1
  20. package/lib/database/AcDbDatabase.d.ts +4 -0
  21. package/lib/database/AcDbDatabase.d.ts.map +1 -1
  22. package/lib/database/AcDbDatabase.js +67 -15
  23. package/lib/database/AcDbDatabase.js.map +1 -1
  24. package/lib/entity/AcDbLeader.d.ts +32 -3
  25. package/lib/entity/AcDbLeader.d.ts.map +1 -1
  26. package/lib/entity/AcDbLeader.js +140 -10
  27. package/lib/entity/AcDbLeader.js.map +1 -1
  28. package/lib/entity/AcDbMLeader.d.ts +899 -0
  29. package/lib/entity/AcDbMLeader.d.ts.map +1 -0
  30. package/lib/entity/AcDbMLeader.js +2122 -0
  31. package/lib/entity/AcDbMLeader.js.map +1 -0
  32. package/lib/entity/AcDbMLine.d.ts +122 -0
  33. package/lib/entity/AcDbMLine.d.ts.map +1 -0
  34. package/lib/entity/AcDbMLine.js +548 -0
  35. package/lib/entity/AcDbMLine.js.map +1 -0
  36. package/lib/entity/dimension/AcDbDiametricDimension.d.ts +0 -33
  37. package/lib/entity/dimension/AcDbDiametricDimension.d.ts.map +1 -1
  38. package/lib/entity/dimension/AcDbDiametricDimension.js +0 -80
  39. package/lib/entity/dimension/AcDbDiametricDimension.js.map +1 -1
  40. package/lib/entity/dimension/AcDbDimension.d.ts +1 -9
  41. package/lib/entity/dimension/AcDbDimension.d.ts.map +1 -1
  42. package/lib/entity/dimension/AcDbDimension.js +0 -10
  43. package/lib/entity/dimension/AcDbDimension.js.map +1 -1
  44. package/lib/entity/dimension/AcDbRadialDimension.d.ts +0 -6
  45. package/lib/entity/dimension/AcDbRadialDimension.d.ts.map +1 -1
  46. package/lib/entity/dimension/AcDbRadialDimension.js +0 -8
  47. package/lib/entity/dimension/AcDbRadialDimension.js.map +1 -1
  48. package/lib/entity/index.d.ts +2 -0
  49. package/lib/entity/index.d.ts.map +1 -1
  50. package/lib/entity/index.js +2 -0
  51. package/lib/entity/index.js.map +1 -1
  52. package/lib/object/AcDbMLeaderStyle.d.ts +404 -0
  53. package/lib/object/AcDbMLeaderStyle.d.ts.map +1 -0
  54. package/lib/object/AcDbMLeaderStyle.js +1004 -0
  55. package/lib/object/AcDbMLeaderStyle.js.map +1 -0
  56. package/lib/object/AcDbMlineStyle.d.ts +57 -0
  57. package/lib/object/AcDbMlineStyle.d.ts.map +1 -0
  58. package/lib/object/AcDbMlineStyle.js +164 -0
  59. package/lib/object/AcDbMlineStyle.js.map +1 -0
  60. package/lib/object/index.d.ts +2 -0
  61. package/lib/object/index.d.ts.map +1 -1
  62. package/lib/object/index.js +2 -0
  63. package/lib/object/index.js.map +1 -1
  64. package/package.json +5 -5
@@ -0,0 +1,1004 @@
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 { AcGeVector3d } from '@mlightcad/geometry-engine';
17
+ import { AcDbObject } from '../base/AcDbObject';
18
+ /**
19
+ * Represents the nongraphical MLEADERSTYLE object.
20
+ *
21
+ * This class mirrors the core ObjectARX `AcDbMLeaderStyle` get/set API by
22
+ * exposing equivalent TypeScript properties.
23
+ */
24
+ var AcDbMLeaderStyle = /** @class */ (function (_super) {
25
+ __extends(AcDbMLeaderStyle, _super);
26
+ /**
27
+ * Creates an MLeader style with ObjectARX-compatible default values.
28
+ */
29
+ function AcDbMLeaderStyle() {
30
+ var _this = _super.call(this) || this;
31
+ _this._contentType = 2;
32
+ _this._drawMLeaderOrderType = 1;
33
+ _this._drawLeaderOrderType = 0;
34
+ _this._bitFlags = 0;
35
+ _this._maxLeaderSegmentsPoints = -1;
36
+ _this._firstSegmentAngleConstraint = 0;
37
+ _this._secondSegmentAngleConstraint = 0;
38
+ _this._leaderLineType = 1;
39
+ _this._leaderLineColor = 256;
40
+ _this._leaderLineWeight = -2;
41
+ _this._enableLanding = true;
42
+ _this._landingGap = 2;
43
+ _this._enableDogleg = true;
44
+ _this._doglegLength = 8;
45
+ _this._description = '';
46
+ _this._arrowSize = 4;
47
+ _this._defaultMTextContents = '';
48
+ _this._textLeftAttachmentType = 1;
49
+ _this._textAngleType = 1;
50
+ _this._textAlignmentType = 0;
51
+ _this._textRightAttachmentType = 1;
52
+ _this._textColor = 256;
53
+ _this._textHeight = 4;
54
+ _this._enableFrameText = false;
55
+ _this._textAlignAlwaysLeft = false;
56
+ _this._alignSpace = 0;
57
+ _this._blockColor = 0;
58
+ _this._blockScale = new AcGeVector3d(1, 1, 1);
59
+ _this._enableBlockScale = true;
60
+ _this._blockRotation = 0;
61
+ _this._enableBlockRotation = false;
62
+ _this._blockConnectionType = 0;
63
+ _this._scale = 1;
64
+ _this._overwritePropChanged = false;
65
+ _this._annotative = false;
66
+ _this._breakSize = 0;
67
+ _this._textAttachmentDirection = 0;
68
+ _this._bottomTextAttachmentType = 9;
69
+ _this._topTextAttachmentType = 9;
70
+ _this._extendLeaderToText = false;
71
+ return _this;
72
+ }
73
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "unknown1", {
74
+ /**
75
+ * Gets the first undocumented raw style value.
76
+ */
77
+ get: function () {
78
+ return this._unknown1;
79
+ },
80
+ set: function (value) {
81
+ this._unknown1 = value;
82
+ },
83
+ enumerable: false,
84
+ configurable: true
85
+ });
86
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "contentType", {
87
+ /**
88
+ * Gets the content type.
89
+ */
90
+ get: function () {
91
+ return this._contentType;
92
+ },
93
+ set: function (value) {
94
+ this._contentType = value;
95
+ },
96
+ enumerable: false,
97
+ configurable: true
98
+ });
99
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "drawMLeaderOrderType", {
100
+ /**
101
+ * Gets the draw mleader order type.
102
+ */
103
+ get: function () {
104
+ return this._drawMLeaderOrderType;
105
+ },
106
+ set: function (value) {
107
+ this._drawMLeaderOrderType = value;
108
+ },
109
+ enumerable: false,
110
+ configurable: true
111
+ });
112
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "drawLeaderOrderType", {
113
+ /**
114
+ * Gets the draw leader order type.
115
+ */
116
+ get: function () {
117
+ return this._drawLeaderOrderType;
118
+ },
119
+ set: function (value) {
120
+ this._drawLeaderOrderType = value;
121
+ },
122
+ enumerable: false,
123
+ configurable: true
124
+ });
125
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "bitFlags", {
126
+ /**
127
+ * Gets the bit flags.
128
+ */
129
+ get: function () {
130
+ return this._bitFlags;
131
+ },
132
+ set: function (value) {
133
+ this._bitFlags = value;
134
+ },
135
+ enumerable: false,
136
+ configurable: true
137
+ });
138
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "maxLeaderSegmentsPoints", {
139
+ /**
140
+ * Gets the max leader segments points.
141
+ */
142
+ get: function () {
143
+ return this._maxLeaderSegmentsPoints;
144
+ },
145
+ set: function (value) {
146
+ this._maxLeaderSegmentsPoints = value;
147
+ },
148
+ enumerable: false,
149
+ configurable: true
150
+ });
151
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "maxLeaderSegmentPoints", {
152
+ /**
153
+ * Gets the legacy alias of `maxLeaderSegmentsPoints`.
154
+ */
155
+ get: function () {
156
+ return this.maxLeaderSegmentsPoints;
157
+ },
158
+ set: function (value) {
159
+ this.maxLeaderSegmentsPoints = value;
160
+ },
161
+ enumerable: false,
162
+ configurable: true
163
+ });
164
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "firstSegmentAngleConstraint", {
165
+ /**
166
+ * Gets the first segment angle constraint.
167
+ */
168
+ get: function () {
169
+ return this._firstSegmentAngleConstraint;
170
+ },
171
+ set: function (value) {
172
+ this._firstSegmentAngleConstraint = value;
173
+ },
174
+ enumerable: false,
175
+ configurable: true
176
+ });
177
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "secondSegmentAngleConstraint", {
178
+ /**
179
+ * Gets the second segment angle constraint.
180
+ */
181
+ get: function () {
182
+ return this._secondSegmentAngleConstraint;
183
+ },
184
+ set: function (value) {
185
+ this._secondSegmentAngleConstraint = value;
186
+ },
187
+ enumerable: false,
188
+ configurable: true
189
+ });
190
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "leaderLineType", {
191
+ /**
192
+ * Gets the leader line type.
193
+ */
194
+ get: function () {
195
+ return this._leaderLineType;
196
+ },
197
+ set: function (value) {
198
+ this._leaderLineType = value;
199
+ },
200
+ enumerable: false,
201
+ configurable: true
202
+ });
203
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "leaderLineColor", {
204
+ /**
205
+ * Gets the leader line color.
206
+ */
207
+ get: function () {
208
+ return this._leaderLineColor;
209
+ },
210
+ set: function (value) {
211
+ this._leaderLineColor = value;
212
+ },
213
+ enumerable: false,
214
+ configurable: true
215
+ });
216
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "leaderLineTypeId", {
217
+ /**
218
+ * Gets the leader line type id.
219
+ */
220
+ get: function () {
221
+ return this._leaderLineTypeId;
222
+ },
223
+ set: function (value) {
224
+ this._leaderLineTypeId = value;
225
+ },
226
+ enumerable: false,
227
+ configurable: true
228
+ });
229
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "leaderLineWeight", {
230
+ /**
231
+ * Gets the leader line weight.
232
+ */
233
+ get: function () {
234
+ return this._leaderLineWeight;
235
+ },
236
+ set: function (value) {
237
+ this._leaderLineWeight = value;
238
+ },
239
+ enumerable: false,
240
+ configurable: true
241
+ });
242
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "enableLanding", {
243
+ /**
244
+ * Gets the enable landing.
245
+ */
246
+ get: function () {
247
+ return this._enableLanding;
248
+ },
249
+ set: function (value) {
250
+ this._enableLanding = value;
251
+ },
252
+ enumerable: false,
253
+ configurable: true
254
+ });
255
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "landingEnabled", {
256
+ /**
257
+ * Gets the alias of `enableLanding`.
258
+ */
259
+ get: function () {
260
+ return this.enableLanding;
261
+ },
262
+ set: function (value) {
263
+ this.enableLanding = value;
264
+ },
265
+ enumerable: false,
266
+ configurable: true
267
+ });
268
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "landingGap", {
269
+ /**
270
+ * Gets the landing gap.
271
+ */
272
+ get: function () {
273
+ return this._landingGap;
274
+ },
275
+ set: function (value) {
276
+ this._landingGap = value;
277
+ },
278
+ enumerable: false,
279
+ configurable: true
280
+ });
281
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "enableDogleg", {
282
+ /**
283
+ * Gets the enable dogleg.
284
+ */
285
+ get: function () {
286
+ return this._enableDogleg;
287
+ },
288
+ set: function (value) {
289
+ this._enableDogleg = value;
290
+ },
291
+ enumerable: false,
292
+ configurable: true
293
+ });
294
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "doglegEnabled", {
295
+ /**
296
+ * Gets the alias of `enableDogleg`.
297
+ */
298
+ get: function () {
299
+ return this.enableDogleg;
300
+ },
301
+ set: function (value) {
302
+ this.enableDogleg = value;
303
+ },
304
+ enumerable: false,
305
+ configurable: true
306
+ });
307
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "doglegLength", {
308
+ /**
309
+ * Gets the dogleg length.
310
+ */
311
+ get: function () {
312
+ return this._doglegLength;
313
+ },
314
+ set: function (value) {
315
+ this._doglegLength = value;
316
+ },
317
+ enumerable: false,
318
+ configurable: true
319
+ });
320
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "description", {
321
+ /**
322
+ * Gets the description.
323
+ */
324
+ get: function () {
325
+ return this._description;
326
+ },
327
+ set: function (value) {
328
+ this._description = value;
329
+ },
330
+ enumerable: false,
331
+ configurable: true
332
+ });
333
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "arrowSymbolId", {
334
+ /**
335
+ * Gets the arrow symbol id.
336
+ */
337
+ get: function () {
338
+ return this._arrowSymbolId;
339
+ },
340
+ set: function (value) {
341
+ this._arrowSymbolId = value;
342
+ },
343
+ enumerable: false,
344
+ configurable: true
345
+ });
346
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "arrowheadId", {
347
+ /**
348
+ * Gets the alias of `arrowSymbolId`.
349
+ */
350
+ get: function () {
351
+ return this.arrowSymbolId;
352
+ },
353
+ set: function (value) {
354
+ this.arrowSymbolId = value;
355
+ },
356
+ enumerable: false,
357
+ configurable: true
358
+ });
359
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "arrowSize", {
360
+ /**
361
+ * Gets the arrow size.
362
+ */
363
+ get: function () {
364
+ return this._arrowSize;
365
+ },
366
+ set: function (value) {
367
+ this._arrowSize = value;
368
+ },
369
+ enumerable: false,
370
+ configurable: true
371
+ });
372
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "arrowheadSize", {
373
+ /**
374
+ * Gets the alias of `arrowSize`.
375
+ */
376
+ get: function () {
377
+ return this.arrowSize;
378
+ },
379
+ set: function (value) {
380
+ this.arrowSize = value;
381
+ },
382
+ enumerable: false,
383
+ configurable: true
384
+ });
385
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "defaultMTextContents", {
386
+ /**
387
+ * Gets the default mtext contents.
388
+ */
389
+ get: function () {
390
+ return this._defaultMTextContents;
391
+ },
392
+ set: function (value) {
393
+ this._defaultMTextContents = value;
394
+ },
395
+ enumerable: false,
396
+ configurable: true
397
+ });
398
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "defaultMText", {
399
+ /**
400
+ * Gets the alias of `defaultMTextContents`.
401
+ */
402
+ get: function () {
403
+ return this.defaultMTextContents;
404
+ },
405
+ set: function (value) {
406
+ this.defaultMTextContents = value;
407
+ },
408
+ enumerable: false,
409
+ configurable: true
410
+ });
411
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "textString", {
412
+ /**
413
+ * Gets the alias of `defaultMTextContents`.
414
+ */
415
+ get: function () {
416
+ return this.defaultMTextContents;
417
+ },
418
+ set: function (value) {
419
+ this.defaultMTextContents = value;
420
+ },
421
+ enumerable: false,
422
+ configurable: true
423
+ });
424
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "textStyleId", {
425
+ /**
426
+ * Gets the text style id.
427
+ */
428
+ get: function () {
429
+ return this._textStyleId;
430
+ },
431
+ set: function (value) {
432
+ this._textStyleId = value;
433
+ },
434
+ enumerable: false,
435
+ configurable: true
436
+ });
437
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "textStyle", {
438
+ /**
439
+ * Gets the alias of `textStyleId`.
440
+ */
441
+ get: function () {
442
+ return this.textStyleId;
443
+ },
444
+ set: function (value) {
445
+ this.textStyleId = value;
446
+ },
447
+ enumerable: false,
448
+ configurable: true
449
+ });
450
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "textLeftAttachmentType", {
451
+ /**
452
+ * Gets the text left attachment type.
453
+ */
454
+ get: function () {
455
+ return this._textLeftAttachmentType;
456
+ },
457
+ set: function (value) {
458
+ this._textLeftAttachmentType = value;
459
+ },
460
+ enumerable: false,
461
+ configurable: true
462
+ });
463
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "textAngleType", {
464
+ /**
465
+ * Gets the text angle type.
466
+ */
467
+ get: function () {
468
+ return this._textAngleType;
469
+ },
470
+ set: function (value) {
471
+ this._textAngleType = value;
472
+ },
473
+ enumerable: false,
474
+ configurable: true
475
+ });
476
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "textAlignmentType", {
477
+ /**
478
+ * Gets the text alignment type.
479
+ */
480
+ get: function () {
481
+ return this._textAlignmentType;
482
+ },
483
+ set: function (value) {
484
+ this._textAlignmentType = value;
485
+ },
486
+ enumerable: false,
487
+ configurable: true
488
+ });
489
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "textRightAttachmentType", {
490
+ /**
491
+ * Gets the text right attachment type.
492
+ */
493
+ get: function () {
494
+ return this._textRightAttachmentType;
495
+ },
496
+ set: function (value) {
497
+ this._textRightAttachmentType = value;
498
+ },
499
+ enumerable: false,
500
+ configurable: true
501
+ });
502
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "textColor", {
503
+ /**
504
+ * Gets the text color.
505
+ */
506
+ get: function () {
507
+ return this._textColor;
508
+ },
509
+ set: function (value) {
510
+ this._textColor = value;
511
+ },
512
+ enumerable: false,
513
+ configurable: true
514
+ });
515
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "textHeight", {
516
+ /**
517
+ * Gets the text height.
518
+ */
519
+ get: function () {
520
+ return this._textHeight;
521
+ },
522
+ set: function (value) {
523
+ this._textHeight = value;
524
+ },
525
+ enumerable: false,
526
+ configurable: true
527
+ });
528
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "enableFrameText", {
529
+ /**
530
+ * Gets the enable frame text.
531
+ */
532
+ get: function () {
533
+ return this._enableFrameText;
534
+ },
535
+ set: function (value) {
536
+ this._enableFrameText = value;
537
+ },
538
+ enumerable: false,
539
+ configurable: true
540
+ });
541
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "textFrameEnabled", {
542
+ /**
543
+ * Gets the alias of `enableFrameText`.
544
+ */
545
+ get: function () {
546
+ return this.enableFrameText;
547
+ },
548
+ set: function (value) {
549
+ this.enableFrameText = value;
550
+ },
551
+ enumerable: false,
552
+ configurable: true
553
+ });
554
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "textAlignAlwaysLeft", {
555
+ /**
556
+ * Gets the text align always left.
557
+ */
558
+ get: function () {
559
+ return this._textAlignAlwaysLeft;
560
+ },
561
+ set: function (value) {
562
+ this._textAlignAlwaysLeft = value;
563
+ },
564
+ enumerable: false,
565
+ configurable: true
566
+ });
567
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "alignSpace", {
568
+ /**
569
+ * Gets the align space.
570
+ */
571
+ get: function () {
572
+ return this._alignSpace;
573
+ },
574
+ set: function (value) {
575
+ this._alignSpace = value;
576
+ },
577
+ enumerable: false,
578
+ configurable: true
579
+ });
580
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "blockId", {
581
+ /**
582
+ * Gets the block id.
583
+ */
584
+ get: function () {
585
+ return this._blockId;
586
+ },
587
+ set: function (value) {
588
+ this._blockId = value;
589
+ },
590
+ enumerable: false,
591
+ configurable: true
592
+ });
593
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "blockContentId", {
594
+ /**
595
+ * Gets the alias of `blockId`.
596
+ */
597
+ get: function () {
598
+ return this.blockId;
599
+ },
600
+ set: function (value) {
601
+ this.blockId = value;
602
+ },
603
+ enumerable: false,
604
+ configurable: true
605
+ });
606
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "blockColor", {
607
+ /**
608
+ * Gets the block color.
609
+ */
610
+ get: function () {
611
+ return this._blockColor;
612
+ },
613
+ set: function (value) {
614
+ this._blockColor = value;
615
+ },
616
+ enumerable: false,
617
+ configurable: true
618
+ });
619
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "blockContentColor", {
620
+ /**
621
+ * Gets the alias of `blockColor`.
622
+ */
623
+ get: function () {
624
+ return this.blockColor;
625
+ },
626
+ set: function (value) {
627
+ this.blockColor = value;
628
+ },
629
+ enumerable: false,
630
+ configurable: true
631
+ });
632
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "blockScale", {
633
+ /**
634
+ * Gets the block scale.
635
+ */
636
+ get: function () {
637
+ return this._blockScale.clone();
638
+ },
639
+ set: function (value) {
640
+ this._blockScale.copy(value);
641
+ },
642
+ enumerable: false,
643
+ configurable: true
644
+ });
645
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "blockContentScale", {
646
+ /**
647
+ * Gets the alias of `blockScale`.
648
+ */
649
+ get: function () {
650
+ return this.blockScale;
651
+ },
652
+ set: function (value) {
653
+ this.blockScale = value;
654
+ },
655
+ enumerable: false,
656
+ configurable: true
657
+ });
658
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "enableBlockScale", {
659
+ /**
660
+ * Gets the enable block scale.
661
+ */
662
+ get: function () {
663
+ return this._enableBlockScale;
664
+ },
665
+ set: function (value) {
666
+ this._enableBlockScale = value;
667
+ },
668
+ enumerable: false,
669
+ configurable: true
670
+ });
671
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "blockContentScaleEnabled", {
672
+ /**
673
+ * Gets the alias of `enableBlockScale`.
674
+ */
675
+ get: function () {
676
+ return this.enableBlockScale;
677
+ },
678
+ set: function (value) {
679
+ this.enableBlockScale = value;
680
+ },
681
+ enumerable: false,
682
+ configurable: true
683
+ });
684
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "blockRotation", {
685
+ /**
686
+ * Gets the block rotation.
687
+ */
688
+ get: function () {
689
+ return this._blockRotation;
690
+ },
691
+ set: function (value) {
692
+ this._blockRotation = value;
693
+ },
694
+ enumerable: false,
695
+ configurable: true
696
+ });
697
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "blockContentRotation", {
698
+ /**
699
+ * Gets the alias of `blockRotation`.
700
+ */
701
+ get: function () {
702
+ return this.blockRotation;
703
+ },
704
+ set: function (value) {
705
+ this.blockRotation = value;
706
+ },
707
+ enumerable: false,
708
+ configurable: true
709
+ });
710
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "enableBlockRotation", {
711
+ /**
712
+ * Gets the enable block rotation.
713
+ */
714
+ get: function () {
715
+ return this._enableBlockRotation;
716
+ },
717
+ set: function (value) {
718
+ this._enableBlockRotation = value;
719
+ },
720
+ enumerable: false,
721
+ configurable: true
722
+ });
723
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "blockContentRotationEnabled", {
724
+ /**
725
+ * Gets the alias of `enableBlockRotation`.
726
+ */
727
+ get: function () {
728
+ return this.enableBlockRotation;
729
+ },
730
+ set: function (value) {
731
+ this.enableBlockRotation = value;
732
+ },
733
+ enumerable: false,
734
+ configurable: true
735
+ });
736
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "blockConnectionType", {
737
+ /**
738
+ * Gets the block connection type.
739
+ */
740
+ get: function () {
741
+ return this._blockConnectionType;
742
+ },
743
+ set: function (value) {
744
+ this._blockConnectionType = value;
745
+ },
746
+ enumerable: false,
747
+ configurable: true
748
+ });
749
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "blockContentConnectionType", {
750
+ /**
751
+ * Gets the alias of `blockConnectionType`.
752
+ */
753
+ get: function () {
754
+ return this.blockConnectionType;
755
+ },
756
+ set: function (value) {
757
+ this.blockConnectionType = value;
758
+ },
759
+ enumerable: false,
760
+ configurable: true
761
+ });
762
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "scale", {
763
+ /**
764
+ * Gets the scale.
765
+ */
766
+ get: function () {
767
+ return this._scale;
768
+ },
769
+ set: function (value) {
770
+ this._scale = value;
771
+ },
772
+ enumerable: false,
773
+ configurable: true
774
+ });
775
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "scaleFactor", {
776
+ /**
777
+ * Gets the alias of `scale`.
778
+ */
779
+ get: function () {
780
+ return this.scale;
781
+ },
782
+ set: function (value) {
783
+ this.scale = value;
784
+ },
785
+ enumerable: false,
786
+ configurable: true
787
+ });
788
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "overwritePropChanged", {
789
+ /**
790
+ * Gets the overwrite prop changed.
791
+ */
792
+ get: function () {
793
+ return this._overwritePropChanged;
794
+ },
795
+ set: function (value) {
796
+ this._overwritePropChanged = value;
797
+ },
798
+ enumerable: false,
799
+ configurable: true
800
+ });
801
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "overwritePropertyValue", {
802
+ /**
803
+ * Gets the alias of `overwritePropChanged`.
804
+ */
805
+ get: function () {
806
+ return this.overwritePropChanged;
807
+ },
808
+ set: function (value) {
809
+ this.overwritePropChanged = value;
810
+ },
811
+ enumerable: false,
812
+ configurable: true
813
+ });
814
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "annotative", {
815
+ /**
816
+ * Gets the annotative.
817
+ */
818
+ get: function () {
819
+ return this._annotative;
820
+ },
821
+ set: function (value) {
822
+ this._annotative = value;
823
+ },
824
+ enumerable: false,
825
+ configurable: true
826
+ });
827
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "breakSize", {
828
+ /**
829
+ * Gets the break size.
830
+ */
831
+ get: function () {
832
+ return this._breakSize;
833
+ },
834
+ set: function (value) {
835
+ this._breakSize = value;
836
+ },
837
+ enumerable: false,
838
+ configurable: true
839
+ });
840
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "breakGapSize", {
841
+ /**
842
+ * Gets the alias of `breakSize`.
843
+ */
844
+ get: function () {
845
+ return this.breakSize;
846
+ },
847
+ set: function (value) {
848
+ this.breakSize = value;
849
+ },
850
+ enumerable: false,
851
+ configurable: true
852
+ });
853
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "textAttachmentDirection", {
854
+ /**
855
+ * Gets the text attachment direction.
856
+ */
857
+ get: function () {
858
+ return this._textAttachmentDirection;
859
+ },
860
+ set: function (value) {
861
+ this._textAttachmentDirection = value;
862
+ },
863
+ enumerable: false,
864
+ configurable: true
865
+ });
866
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "bottomTextAttachmentType", {
867
+ /**
868
+ * Gets the bottom text attachment type.
869
+ */
870
+ get: function () {
871
+ return this._bottomTextAttachmentType;
872
+ },
873
+ set: function (value) {
874
+ this._bottomTextAttachmentType = value;
875
+ },
876
+ enumerable: false,
877
+ configurable: true
878
+ });
879
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "bottomTextAttachmentDirection", {
880
+ /**
881
+ * Gets the alias of `bottomTextAttachmentType`.
882
+ */
883
+ get: function () {
884
+ return this.bottomTextAttachmentType;
885
+ },
886
+ set: function (value) {
887
+ this.bottomTextAttachmentType = value;
888
+ },
889
+ enumerable: false,
890
+ configurable: true
891
+ });
892
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "topTextAttachmentType", {
893
+ /**
894
+ * Gets the top text attachment type.
895
+ */
896
+ get: function () {
897
+ return this._topTextAttachmentType;
898
+ },
899
+ set: function (value) {
900
+ this._topTextAttachmentType = value;
901
+ },
902
+ enumerable: false,
903
+ configurable: true
904
+ });
905
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "topTextAttachmentDirection", {
906
+ /**
907
+ * Gets the alias of `topTextAttachmentType`.
908
+ */
909
+ get: function () {
910
+ return this.topTextAttachmentType;
911
+ },
912
+ set: function (value) {
913
+ this.topTextAttachmentType = value;
914
+ },
915
+ enumerable: false,
916
+ configurable: true
917
+ });
918
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "extendLeaderToText", {
919
+ /**
920
+ * Gets the extend leader to text.
921
+ */
922
+ get: function () {
923
+ return this._extendLeaderToText;
924
+ },
925
+ set: function (value) {
926
+ this._extendLeaderToText = value;
927
+ },
928
+ enumerable: false,
929
+ configurable: true
930
+ });
931
+ Object.defineProperty(AcDbMLeaderStyle.prototype, "unknown2", {
932
+ /**
933
+ * Gets the second undocumented raw style value.
934
+ */
935
+ get: function () {
936
+ return this._unknown2;
937
+ },
938
+ set: function (value) {
939
+ this._unknown2 = value;
940
+ },
941
+ enumerable: false,
942
+ configurable: true
943
+ });
944
+ /**
945
+ * Writes this MLeaderStyle object to DXF fields.
946
+ *
947
+ * @param filer DXF filer that receives serialized group codes.
948
+ * @returns The current style instance for chaining.
949
+ */
950
+ AcDbMLeaderStyle.prototype.dxfOutFields = function (filer) {
951
+ _super.prototype.dxfOutFields.call(this, filer);
952
+ filer.writeSubclassMarker('AcDbMLeaderStyle');
953
+ filer.writeInt16(179, this.unknown1);
954
+ filer.writeInt16(170, this.contentType);
955
+ filer.writeInt16(171, this.drawMLeaderOrderType);
956
+ filer.writeInt16(172, this.drawLeaderOrderType);
957
+ filer.writeInt32(90, this.maxLeaderSegmentsPoints);
958
+ filer.writeDouble(40, this.firstSegmentAngleConstraint);
959
+ filer.writeDouble(41, this.secondSegmentAngleConstraint);
960
+ filer.writeInt16(173, this.leaderLineType);
961
+ filer.writeInt32(91, this.leaderLineColor);
962
+ filer.writeHandle(340, this.leaderLineTypeId);
963
+ filer.writeInt32(92, this.leaderLineWeight);
964
+ filer.writeBoolean(290, this.enableLanding);
965
+ filer.writeDouble(42, this.landingGap);
966
+ filer.writeBoolean(291, this.enableDogleg);
967
+ filer.writeDouble(43, this.doglegLength);
968
+ filer.writeString(3, this.description);
969
+ filer.writeHandle(341, this.arrowSymbolId);
970
+ filer.writeDouble(44, this.arrowSize);
971
+ filer.writeString(300, this.defaultMTextContents);
972
+ filer.writeHandle(342, this.textStyleId);
973
+ filer.writeInt16(174, this.textLeftAttachmentType);
974
+ filer.writeInt16(175, this.textAngleType);
975
+ filer.writeInt16(176, this.textAlignmentType);
976
+ filer.writeInt16(178, this.textRightAttachmentType);
977
+ filer.writeInt32(93, this.textColor);
978
+ filer.writeDouble(45, this.textHeight);
979
+ filer.writeBoolean(292, this.enableFrameText);
980
+ filer.writeBoolean(297, this.textAlignAlwaysLeft);
981
+ filer.writeDouble(46, this.alignSpace);
982
+ filer.writeHandle(343, this.blockId);
983
+ filer.writeInt32(94, this.blockColor);
984
+ filer.writeDouble(47, this._blockScale.x);
985
+ filer.writeDouble(49, this._blockScale.y);
986
+ filer.writeDouble(140, this._blockScale.z);
987
+ filer.writeBoolean(293, this.enableBlockScale);
988
+ filer.writeDouble(141, this.blockRotation);
989
+ filer.writeBoolean(294, this.enableBlockRotation);
990
+ filer.writeInt16(177, this.blockConnectionType);
991
+ filer.writeDouble(142, this.scale);
992
+ filer.writeBoolean(295, this.overwritePropChanged);
993
+ filer.writeBoolean(296, this.annotative);
994
+ filer.writeDouble(143, this.breakSize);
995
+ filer.writeInt16(271, this.textAttachmentDirection);
996
+ filer.writeInt16(272, this.bottomTextAttachmentType);
997
+ filer.writeInt16(273, this.topTextAttachmentType);
998
+ filer.writeBoolean(298, this.unknown2);
999
+ return this;
1000
+ };
1001
+ return AcDbMLeaderStyle;
1002
+ }(AcDbObject));
1003
+ export { AcDbMLeaderStyle };
1004
+ //# sourceMappingURL=AcDbMLeaderStyle.js.map