1234567891011121314151617181920212223242526 |
- // iGeomJS
- // LInE
- import { identifier } from "../../application/identifier";
- export class GenericObject {
- constructor (id) {
- if (id == undefined) {
- this.id = identifier.next(); // app/core/application/identifier.js: next(): return this.number++;
- } else {
- this.id = id;
- identifier.setIdentifierNumber(id+1); // app/core/application/identifier.js: setIdentifierNumber(id): this.number = id;
- }
- this.elementClass;
- this.label = "";
- this.labelIgeom = "";
- this.dependentsOnThis = [];
- this.definitions = [];
- this.labelColor = "";
- this.defined = 1;
- this.color = -16776961;
- this.visible = true;
- }
- }
|