Rect.js 484 B

123456789101112
  1. import { __extends } from "tslib";
  2. import { Box } from './Box';
  3. var Rect = /** @class */ (function (_super) {
  4. __extends(Rect, _super);
  5. function Rect(x, y, width, height, allowNegativeDimensions) {
  6. if (allowNegativeDimensions === void 0) { allowNegativeDimensions = false; }
  7. return _super.call(this, { x: x, y: y, width: width, height: height }, allowNegativeDimensions) || this;
  8. }
  9. return Rect;
  10. }(Box));
  11. export { Rect };
  12. //# sourceMappingURL=Rect.js.map