setSpots method

Geometry setSpots(
  1. num f1x,
  2. num f1y,
  3. num f2x,
  4. num f2y, [
  5. num? o1x,
  6. num? o1y,
  7. num? o2x,
  8. num? o2y,
])

(undocumented) Set #spot1 and #spot2 without allocating new Spots. @param {number} f1x spot1.x @param {number} f1y spot1.y @param {number} f2x spot2.x @param {number} f2y spot2.y @param {number=} o1x offset1.x, default is zero @param {number=} o1y offset1.y, default is zero @param {number=} o2x offset2.x, default is zero @param {number=} o2y offset2.y, default is zero @return {Geometry} this

Implementation

_i3.Geometry setSpots(
  _i2.num f1x,
  _i2.num f1y,
  _i2.num f2x,
  _i2.num f2y, [
  _i2.num? o1x,
  _i2.num? o1y,
  _i2.num? o2x,
  _i2.num? o2y,
]) =>
    _i4.callMethod(
      this,
      'setSpots',
      [
        f1x,
        f1y,
        f2x,
        f2y,
        o1x ?? _i5.undefined,
        o1y ?? _i5.undefined,
        o2x ?? _i5.undefined,
        o2y ?? _i5.undefined,
      ],
    );