chunk-KFLNKWNF.js 500 B

1234567891011121314151617
  1. // node_modules/@arcgis/core/views/2d/engine/webgl/Rect.js
  2. var t = class {
  3. constructor(t2 = 0, h = 0, i = 0, s = 0) {
  4. this.x = t2, this.y = h, this.width = i, this.height = s;
  5. }
  6. get isEmpty() {
  7. return this.width <= 0 || this.height <= 0;
  8. }
  9. union(t2) {
  10. this.x = Math.min(this.x, t2.x), this.y = Math.min(this.y, t2.y), this.width = Math.max(this.width, t2.width), this.height = Math.max(this.height, t2.height);
  11. }
  12. };
  13. export {
  14. t
  15. };
  16. //# sourceMappingURL=chunk-KFLNKWNF.js.map