Skip to content

Commit 0a93e7b

Browse files
committed
Added @static to new Point methods (thanks @Fumio)
1 parent acd1bb6 commit 0a93e7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/easeljs/geom/Point.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ this.createjs = this.createjs||{};
113113
* @param {Point | Object} [pt] An object to copy the result into. If omitted a new {{#crossLink "Point"}}{{/crossLink}}
114114
* will be returned.
115115
* @return {Point} The new, interpolated point.
116+
* @static
116117
*/
117118
Point.polar = function(len, angle, pt) {
118119
pt = pt||new Point();
@@ -140,6 +141,7 @@ this.createjs = this.createjs||{};
140141
* @param {Point | Object} [pt] An object to copy the result into. If omitted, a new {{#crossLink "Point"}}{{/crossLink}}
141142
* will be returned.
142143
* @return {Point} A new interpolated Point, or the `pt` passed in the 4th parameter with the interpolated values.
144+
* @static
143145
*/
144146
Point.interpolate = function(pt1, pt2, f, pt) {
145147
pt = pt || new Point();

0 commit comments

Comments
 (0)