Point-ex for EaselJS is extension of EaselJS's Point class.
var point1 = new createjs.Point(50, 50);
point1.normalize(1);
console.log(point1.toString()); // [Point (x=0.7071067811865476 y=0.7071067811865476)]
- length [read only]
- add
- subtract
- equals
- normalize
- offset
- setTo
- copyFrom
- distance [static]
- interpolate [static]
- polar [static]
- More information and samples at the kudox.jp
- Read the AS3 API Documentation, because API is similar to AS3.
public domain