intersects static method

bool intersects(
  1. num rx,
  2. num ry,
  3. num rw,
  4. num rh,
  5. num x,
  6. num y,
  7. num w,
  8. num h,
)

This static function indicates whether a Rect partly or wholly overlaps the given Rect.

Implementation

static _i2.bool intersects(
  _i2.num rx,
  _i2.num ry,
  _i2.num rw,
  _i2.num rh,
  _i2.num x,
  _i2.num y,
  _i2.num w,
  _i2.num h,
) =>
    _i4.callMethod(
      _declaredRect,
      'intersects',
      [
        rx,
        ry,
        rw,
        rh,
        x,
        y,
        w,
        h,
      ],
    );