From e34fb6a256afe0c6b699ab58ac0ed62941ae288a Mon Sep 17 00:00:00 2001 From: kangax Date: Fri, 25 Oct 2013 09:03:54 +0200 Subject: [PATCH] More specific documentation --- src/mixins/object_geometry.mixin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mixins/object_geometry.mixin.js b/src/mixins/object_geometry.mixin.js index 7111ada1..9e520086 100644 --- a/src/mixins/object_geometry.mixin.js +++ b/src/mixins/object_geometry.mixin.js @@ -90,7 +90,7 @@ /** * Checks if point is inside the object - * @param {Object} point + * @param {fabric.Point} point Point to check against * @return {Boolean} true if point is inside the object */ containsPoint: function(point) { @@ -131,8 +131,8 @@ * Helper method to determine how many cross points are between the 4 object edges * and the horizontal line determined by a point on canvas * @private - * @param {Object} point - * @param {Object} oCoords Coordinates of the image being evaluated + * @param {fabric.Point} point Point to check + * @param {Object} oCoords Coordinates of the object being evaluated */ _findCrossPoints: function(point, oCoords) { var b1, b2, a1, a2, xi, yi,