X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/530ef4b6c5b943cfa68b779d11cf7de29aa878bf..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/docs/api/Ext.util.Point.html diff --git a/docs/api/Ext.util.Point.html b/docs/api/Ext.util.Point.html new file mode 100644 index 00000000..f6b7e150 --- /dev/null +++ b/docs/api/Ext.util.Point.html @@ -0,0 +1,192 @@ +
Hierarchy
Ext.util.RegionExt.util.Point
Represents a 2D point with x and y properties, useful for comparison and instantiation +from an event:
+ +var point = Ext.util.Point.fromEvent(e);
+
+
+
Top
+Right
+Bottom
+Left
+Modifies the current region to be adjusted by offsets.
+Modifies the current region to be adjusted by offsets.
+top offset
+right offset
+bottom offset
+left offset
+Modifies the current region to be constrained to the targetRegion.
+Modifies the current region to be constrained to the targetRegion.
+Checks if this region completely contains the region that is passed in.
+Checks if this region completely contains the region that is passed in.
+Copy the values of another Region to this Region
+Copy the values of another Region to this Region
+region to copy from.
+this This point
+Compare this point and another point
+Compare this point and another point
+point to compare with, either an instance +of Ext.util.Point or an object with left and top properties
+Returns whether they are equivalent
+
An object with top, right, bottom, left properties
+region The region constructed based on the passed object
+Returns a new instance of Ext.util.Point base on the pageX / pageY values of the given event
+Returns a new instance of Ext.util.Point base on the pageX / pageY values of the given event
+The event
+Ext.util.Point
+Get the offset amount of a point outside the region
+Get the offset amount of a point outside the region
+optional
+the point
+Get the offset amount on the x-axis
+Get the offset amount on the x-axis
+the offset
+Get the offset amount on the y-axis
+Get the offset amount on the y-axis
+the offset
+
A string, DomElement or Ext.core.Element representing an element +on the page.
+region +Retrieves an Ext.util.Region for a particular element.
+Checks if this region intersects the region passed in.
+Checks if this region intersects the region passed in.
+Returns the intersected region or false if there is no intersection.
+Check whether the point / offset is out of bound
+Check whether the point / offset is out of bound
+optional
+the point / offset
+Check whether the offset is out of bound in the x-axis
+Check whether the offset is out of bound in the x-axis
+the offset
+Check whether the offset is out of bound in the y-axis
+Check whether the offset is out of bound in the y-axis
+the offset
+Whether the given point is not away from this point within the given threshold amount. +TODO: Rename this isNear.
+Whether the given point is not away from this point within the given threshold amount. +TODO: Rename this isNear.
+point to check with, either an instance +of Ext.util.Point or an object with left and top properties
+Can be either an object with x and y properties or a number
+Round all the properties of this region
+Round all the properties of this region
+this This Region
+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]
+point to compare with, either an instance +of Ext.util.Point or an object with x and y properties
+Returns a human-eye-friendly string that represents this point, +useful for debugging
+Returns a human-eye-friendly string that represents this point, +useful for debugging
+Translate this region by the given offset amount
+Translate this region by the given offset amount
+Object containing the x
and y
properties.
+Or the x value is using the two argument form.
y value unless using an Offset object.
+this This Region
+