Rect.js 577 B

1234567891011121314
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var tslib_1 = require("tslib");
  4. var Box_1 = require("./Box");
  5. var Rect = /** @class */ (function (_super) {
  6. tslib_1.__extends(Rect, _super);
  7. function Rect(x, y, width, height, allowNegativeDimensions) {
  8. if (allowNegativeDimensions === void 0) { allowNegativeDimensions = false; }
  9. return _super.call(this, { x: x, y: y, width: width, height: height }, allowNegativeDimensions) || this;
  10. }
  11. return Rect;
  12. }(Box_1.Box));
  13. exports.Rect = Rect;
  14. //# sourceMappingURL=Rect.js.map