@mlightcad/data-model
Version:
The data-model package provides the core classes for interacting with AutoCAD's database and entities. This package mimics AutoCAD ObjectARX's AcDb (Database) classes and implements the drawing database structure that AutoCAD developers are familiar with.
48 lines • 1.8 kB
JavaScript
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import { AcDbSymbolTable } from './AcDbSymbolTable';
/**
* Symbol table for linetype table records.
*
* This class manages linetype table records which represent line types within a
* drawing database. Line types define the pattern of dashes, dots, and spaces
* used to display lines and curves in the drawing.
*
* @example
* ```typescript
* const linetypeTable = new AcDbLinetypeTable(database);
* const linetype = linetypeTable.getAt('Continuous');
* ```
*/
var AcDbLinetypeTable = /** @class */ (function (_super) {
__extends(AcDbLinetypeTable, _super);
/**
* Creates a new AcDbLinetypeTable instance.
*
* @param db - The database this linetype table belongs to
*
* @example
* ```typescript
* const linetypeTable = new AcDbLinetypeTable(database);
* ```
*/
function AcDbLinetypeTable(db) {
return _super.call(this, db) || this;
}
return AcDbLinetypeTable;
}(AcDbSymbolTable));
export { AcDbLinetypeTable };
//# sourceMappingURL=AcDbLinetypeTable.js.map