equalTo method

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

Indicates whether the given Rect is equal to the current Rect. @param {number} x @param {number} y @param {number} w the width. @param {number} h the height. @return {boolean} True if the Rects are equivalent in x, y, width, and height. @see #equals

Implementation

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