12 lines
No EOL
495 B
JavaScript
12 lines
No EOL
495 B
JavaScript
import { __extends } from "tslib";
|
|
import { Box } from './Box';
|
|
var Rect = /** @class */ (function (_super) {
|
|
__extends(Rect, _super);
|
|
function Rect(x, y, width, height, allowNegativeDimensions) {
|
|
if (allowNegativeDimensions === void 0) { allowNegativeDimensions = false; }
|
|
return _super.call(this, { x: x, y: y, width: width, height: height }, allowNegativeDimensions) || this;
|
|
}
|
|
return Rect;
|
|
}(Box));
|
|
export { Rect };
|
|
//# sourceMappingURL=Rect.js.map
|