class type t =Inheritsobject
..end
method adjust : Js.number Js.t ->
Js.number Js.t ->
Js.number Js.t ->
Js.number Js.t ->
(< adjust : 'a; callParent : 'c 'd. 'c Js.t -> 'd Js.t Js.meth;
callSuper : 'e 'f. 'e Js.t -> 'f Js.t Js.meth;
constrainTo : 'b Js.t -> 'b Js.t Js.meth;
contains : 'b Js.t -> bool Js.t Js.meth; copy : 'b Js.t Js.meth;
copyFrom : 'b Js.t -> 'b Js.t Js.meth;
equals : 'b Js.t -> bool Js.t Js.meth;
getInitialConfig : 'g. Js.js_string Js.t Js.optdef -> 'g Js.t Js.meth;
getOutOfBoundOffset : 'h.
Js.js_string Js.t Js.optdef ->
'h Js.t Js.optdef ->
Ext_util_Offset.t Js.t Js.meth;
getOutOfBoundOffsetX : Js.number Js.t -> Js.number Js.t Js.meth;
getOutOfBoundOffsetY : Js.number Js.t -> Js.number Js.t Js.meth;
initConfig : 'i. 'i Js.t -> 'b Js.t Js.meth;
intersect : 'j. 'b Js.t -> 'j Js.t Js.meth;
isOutOfBound : 'k.
Js.js_string Js.t Js.optdef ->
'k Js.t Js.optdef -> bool Js.t Js.meth;
isOutOfBoundX : Js.number Js.t -> bool Js.t Js.meth;
isOutOfBoundY : Js.number Js.t -> bool Js.t Js.meth;
round : 'b Js.t Js.meth; self : Ext_Class.t Js.t Js.prop;
statics : Ext_Class.t Js.t Js.meth;
translateBy : 'l. 'l Js.t -> Js.number Js.t -> 'b Js.t Js.meth;
union : 'b Js.t -> 'b Js.t Js.meth; .. >
as 'b)
Js.t Js.meth as 'a
Modifies the current region to be adjusted by offsets.
Parameters:
Js.number Js.t
top offset
Js.number Js.t
right offset
Js.number Js.t
bottom offset
Js.number Js.t
left offset
Returns:
Ext_util_Region.t Js.t
this
method constrainTo : 'b Js.t -> 'b Js.t Js.meth
Modifies the current region to be constrained to the targetRegion.
Parameters:
Ext_util_Region.t Js.t
Returns:
Ext_util_Region.t Js.t
this
method contains : 'b Js.t -> bool Js.t Js.meth
Checks if this region completely contains the region that is passed in.
Parameters:
Ext_util_Region.t Js.t
method copy : 'b Js.t Js.meth
Create a copy of this Region.
method copyFrom : 'b Js.t -> 'b Js.t Js.meth
Copy the values of another Region to this Region
Parameters:
Ext_util_Region.t Js.t
The region to copy from.
Returns:
Ext_util_Region.t Js.t
This Region
method equals : 'b Js.t -> bool Js.t Js.meth
Check whether this region is equivalent to the given region
Parameters:
Ext_util_Region.t Js.t
The region to compare with
method getOutOfBoundOffset : 'h.
Js.js_string Js.t Js.optdef ->
'h Js.t Js.optdef -> Ext_util_Offset.t Js.t Js.meth
Get the offset amount of a point outside the region
Parameters:
Js.js_string Js.t
(optional)
Ext_util_Point.t Js.t
(optional) the point
method getOutOfBoundOffsetX : Js.number Js.t -> Js.number Js.t Js.meth
Get the offset amount on the x-axis
Parameters:
Js.number Js.t
the offset
method getOutOfBoundOffsetY : Js.number Js.t -> Js.number Js.t Js.meth
Get the offset amount on the y-axis
Parameters:
Js.number Js.t
the offset
method intersect : 'j. 'b Js.t -> 'j Js.t Js.meth
Checks if this region intersects the region passed in.
Parameters:
Ext_util_Region.t Js.t
Returns:
_ Js.t
Returns the intersected region or false if there is no intersection.
method isOutOfBound : 'k. Js.js_string Js.t Js.optdef -> 'k Js.t Js.optdef -> bool Js.t Js.meth
Check whether the point / offset is out of bound
Parameters:
Js.js_string Js.t
(optional)
_ Js.t
(optional) the point / offset
method isOutOfBoundX : Js.number Js.t -> bool Js.t Js.meth
Check whether the offset is out of bound in the x-axis
Parameters:
Js.number Js.t
the offset
method isOutOfBoundY : Js.number Js.t -> bool Js.t Js.meth
Check whether the offset is out of bound in the y-axis
Parameters:
Js.number Js.t
the offset
method round : 'b Js.t Js.meth
Round all the properties of this region
Returns:
Ext_util_Region.t Js.t
this This Region
method translateBy : 'l. 'l Js.t -> Js.number Js.t -> 'b Js.t Js.meth
Translate this region by the given offset amount
Parameters:
_ Js.t
Object containing the x
and y
properties.
Or the x value is using the two argument form.
Js.number Js.t
The y value unless using an Offset object.
Returns:
Ext_util_Region.t Js.t
this This Region
method union : 'b Js.t -> 'b Js.t Js.meth
Returns the smallest region that contains the current AND targetRegion.
Parameters:
Ext_util_Region.t Js.t
Returns:
Ext_util_Region.t Js.t
a new region