You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Offsets the Point object by the specified amount. The value of dx is added to the original value of x to create the new x value. The value of dy is added to the original value of y to create the new y value.
104
104
* @method offset
105
-
* @param {Number} The amount by which to offset the horizontal coordinate, x.
106
-
* @param {Number} The amount by which to offset the vertical coordinate, y.
105
+
* @param {Number} dx The amount by which to offset the horizontal coordinate, x.
106
+
* @param {Number} dy The amount by which to offset the vertical coordinate, y.
107
107
* @return {Point} This instance. Useful for chaining method calls.
* Determines a point between two specified points. The parameter `f` determines where the new interpolated point is located relative to the two end points specified by parameters `pt1` and `pt2`. The closer the value of the parameter `f` is to 1.0, the closer the interpolated point is to the first point (parameter `pt1`). The closer the value of the parameter `f` is to 0, the closer the interpolated point is to the second point (parameter `pt2`).
134
-
* @methodoffset
135
-
* @param {Point | Object} The first point as a Point or generic object.
136
-
* @param {Point | Object} The second point as a Point or generic object.
137
-
* @param {Number} The level of interpolation between the two points. Indicates where the new point will be, along the line between `pt1` and `pt2`. If `f=1`, `pt1` is returned; if `f=0`, `pt2` is returned.
134
+
* @methodinterpolate
135
+
* @param {Point | Object} pt1 The first point as a Point or generic object.
136
+
* @param {Point | Object} pt2 The second point as a Point or generic object.
137
+
* @param {Number} f The level of interpolation between the two points. Indicates where the new point will be, along the line between `pt1` and `pt2`. If `f=1`, `pt1` is returned; if `f=0`, `pt2` is returned.
138
138
* @param {Point | Object} [pt] An object to copy the result into. If omitted a generic object with x/y properties will be returned.
0 commit comments