setTo method

Spot setTo(
  1. num x,
  2. num y,
  3. num offx,
  4. num offy,
)

Modify this Spot with new X, Y, OffsetX, and OffsetY values. @param {number} x @param {number} y @param {number} offx @param {number} offy @return {Spot} this.

Implementation

_i3.Spot setTo(
  _i2.num x,
  _i2.num y,
  _i2.num offx,
  _i2.num offy,
) =>
    _i4.callMethod(
      this,
      'setTo',
      [
        x,
        y,
        offx,
        offy,
      ],
    );