setRectSpot method

Point setRectSpot(
  1. Rect r,
  2. Spot spot
)

Modify this Point so that its X and Y values correspond to a particular Spot in a given Rect.

The result is meaningless if Spot#isNoSpot is true for the given Spot. @param {Rect} r the Rect for which we are finding the point. @param {Spot} spot the Spot; Spot#isSpot must be true for this Spot. @return {Point} this. @see #setSpot

Implementation

_i3.Point setRectSpot(
  _i3.Rect r,
  _i3.Spot spot,
) =>
    _i4.callMethod(
      this,
      'setRectSpot',
      [
        r,
        spot,
      ],
    );