set method

Rect set(
  1. Rect r
)

Modify this Rect so that its X, Y, Width, and Height values are the same as the given Rect. @param {Rect} r the given Rect. @return {Rect} this.

Implementation

_i3.Rect set(_i3.Rect r) => _i4.callMethod(
      this,
      'set',
      [r],
    );