X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/Point.html diff --git a/docs/source/Point.html b/docs/source/Point.html index 00f85e76..8723e9d0 100644 --- a/docs/source/Point.html +++ b/docs/source/Point.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @class Ext.util.Point
  * @extends Ext.util.Region
  *
@@ -16,7 +33,7 @@ Ext.define('Ext.util.Point', {
 
     statics: {
 
-        /**
+        /**
          * Returns a new instance of Ext.util.Point base on the pageX / pageY values of the given event
          * @static
          * @param {Event} e The event
@@ -34,7 +51,7 @@ Ext.define('Ext.util.Point', {
         this.callParent([y, x, y, x]);
     },
 
-    /**
+    /**
      * Returns a human-eye-friendly string that represents this point,
      * useful for debugging
      * @return {String}
@@ -43,7 +60,7 @@ Ext.define('Ext.util.Point', {
         return "Point[" + this.x + "," + this.y + "]";
     },
 
-    /**
+    /**
      * Compare this point and another point
      * @param {Ext.util.Point/Object} The point to compare with, either an instance
      * of Ext.util.Point or an object with left and top properties
@@ -53,7 +70,7 @@ Ext.define('Ext.util.Point', {
         return (this.x == p.x && this.y == p.y);
     },
 
-    /**
+    /**
      * Whether the given point is not away from this point within the given threshold amount.
      * TODO: Rename this isNear.
      * @param {Ext.util.Point/Object} The point to check with, either an instance
@@ -73,7 +90,7 @@ Ext.define('Ext.util.Point', {
                 this.y <= p.y + threshold.y && this.y >= p.y - threshold.y);
     },
 
-    /**
+    /**
      * Compare this point with another point when the x and y values of both points are rounded. E.g:
      * [100.3,199.8] will equals to [100, 200]
      * @param {Ext.util.Point/Object} The point to compare with, either an instance
@@ -84,13 +101,16 @@ Ext.define('Ext.util.Point', {
         return (Math.round(this.x) == Math.round(p.x) && Math.round(this.y) == Math.round(p.y));
     }
 }, function() {
-    /**
+    /**
      * Translate this region by the given offset amount. TODO: Either use translate or translateBy!
      * @param {Ext.util.Offset/Object} offset Object containing the <code>x</code> and <code>y</code> properties.
      * Or the x value is using the two argument form.
      * @param {Number} The y value unless using an Offset object.
      * @return {Ext.util.Region} this This Region
+     * @method
      */
     this.prototype.translate = Ext.util.Region.prototype.translateBy;
 });
-
\ No newline at end of file +
+ +