generic-object.js 446 B

1234567891011121314151617181920
  1. import { identifier } from "../../application/identifier";
  2. export class GenericObject {
  3. constructor(id) {
  4. if (id == undefined) {
  5. this.id = identifier.next();
  6. } else {
  7. this.id = id;
  8. }
  9. this.elementClass;
  10. this.label = "";
  11. this.labelIgeom = "";
  12. this.dependentsOnThis = [];
  13. this.definitions = [];
  14. this.labelColor = "";
  15. this.defined = 1;
  16. this.color = -16776961;
  17. this.visible = true;
  18. }
  19. }