intersects method

bool intersects(
  1. num x,
  2. num y,
  3. num w,
  4. num h,
)

Determine if this Rect partly or wholly overlaps the rectangle defined by x, y, w, h. @param {number} x @param {number} y @param {number} w @param {number} h @return {boolean} true if there is any overlap. @see #intersectsRect @see #intersect

Implementation

_i2.bool intersects(
  _i2.num x,
  _i2.num y,
  _i2.num w,
  _i2.num h,
) =>
    _i4.callMethod(
      this,
      'intersects',
      [
        x,
        y,
        w,
        h,
      ],
    );