setTo method

Rect setTo(
  1. num x,
  2. num y,
  3. num w,
  4. num h,
)

Modify this Rect with new X, Y, Width, and Height values. @param {number} x @param {number} y @param {number} w the width. @param {number} h the height. @return {Rect} this.

Implementation

_i3.Rect setTo(
  _i2.num x,
  _i2.num y,
  _i2.num w,
  _i2.num h,
) =>
    _i4.callMethod(
      this,
      'setTo',
      [
        x,
        y,
        w,
        h,
      ],
    );