diff --git a/src/basic/Point.js b/src/basic/Point.js index 5cf1a07c..4259a678 100644 --- a/src/basic/Point.js +++ b/src/basic/Point.js @@ -66,6 +66,10 @@ var Point = Base.extend({ return this.x == point.x && this.y == point.y; }, + transform: function(matrix) { + return matrix.transform(this); + }, + getDistance: function() { var point = Point.read(arguments); var px = point.x - this.x;