No Description

layout.js 324B

1234567891011
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. function rectContains(rect, _a) {
  4. var x = _a.x, y = _a.y;
  5. if (x < rect.left || x > rect.left + rect.width || y < rect.top || y > rect.top + rect.height) {
  6. return false;
  7. }
  8. return true;
  9. }
  10. exports.rectContains = rectContains;