setSpot method
Modify this Point so that its X and Y values correspond to a particular Spot in a given rectangle.
The result is meaningless if Spot#isNoSpot is true for the given Spot. @param {number} x The X coordinate of the Rect for which we are finding the point. @param {number} y The Y coordinate of the Rect for which we are finding the point. @param {number} w The Width of the Rect for which we are finding the point. @param {number} h The Height of 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 the point of the spot in the rectangle. @see #setRectSpot
Implementation
_i3.Point setSpot(
_i2.num x,
_i2.num y,
_i2.num w,
_i2.num h,
_i3.Spot spot,
) =>
_i4.callMethod(
this,
'setSpot',
[
x,
y,
w,
h,
spot,
],
);