AbstractGraphicalInstruction.js 984 B

1234567891011121314151617181920212223242526
  1. "use strict";
  2. var __extends = (this && this.__extends) || function (d, b) {
  3. for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
  4. function __() { this.constructor = d; }
  5. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  6. };
  7. var GraphicalObject_1 = require("./GraphicalObject");
  8. var AbstractGraphicalInstruction = (function (_super) {
  9. __extends(AbstractGraphicalInstruction, _super);
  10. function AbstractGraphicalInstruction(parent) {
  11. _super.call(this);
  12. this.parent = parent;
  13. }
  14. Object.defineProperty(AbstractGraphicalInstruction.prototype, "Parent", {
  15. get: function () {
  16. return this.parent;
  17. },
  18. set: function (value) {
  19. this.parent = value;
  20. },
  21. enumerable: true,
  22. configurable: true
  23. });
  24. return AbstractGraphicalInstruction;
  25. }(GraphicalObject_1.GraphicalObject));
  26. exports.AbstractGraphicalInstruction = AbstractGraphicalInstruction;