Represents a rectangular region and provides a number of utility methods to compare regions.
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
Check whether this region is equivalent to the given region
Check whether this region is equivalent to the given region
The region to compare with
An object with top, right, bottom, left properties
region The region constructed based on the passed object
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
Round all the properties of this region
Round all the properties of this region
this This Region
Dump this to an eye-friendly string, great for debugging
Dump this to an eye-friendly string, great 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