Class type Ext_util_Region.t


class type t = object .. end
Inherits
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:

Returns:


method constrainTo : 'b Js.t -> 'b Js.t Js.meth

Modifies the current region to be constrained to the targetRegion.

Parameters:

Returns:


method contains : 'b Js.t -> bool Js.t Js.meth

Checks if this region completely contains the region that is passed in.

Parameters:


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:

Returns:


method equals : 'b Js.t -> bool Js.t Js.meth

Check whether this region is equivalent to the given region

Parameters:


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:


method getOutOfBoundOffsetX : Js.number Js.t -> Js.number Js.t Js.meth

Get the offset amount on the x-axis

Parameters:


method getOutOfBoundOffsetY : Js.number Js.t -> Js.number Js.t Js.meth

Get the offset amount on the y-axis

Parameters:


method intersect : 'j. 'b Js.t -> 'j Js.t Js.meth

Checks if this region intersects the region passed in.

Parameters:

Returns:


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:


method isOutOfBoundX : Js.number Js.t -> bool Js.t Js.meth

Check whether the offset is out of bound in the x-axis

Parameters:


method isOutOfBoundY : Js.number Js.t -> bool Js.t Js.meth

Check whether the offset is out of bound in the y-axis

Parameters:


method round : 'b Js.t Js.meth

Round all the properties of this region

Returns:


method translateBy : 'l. 'l Js.t -> Js.number Js.t -> 'b Js.t Js.meth

Translate this region by the given offset amount

Parameters:

Returns:


method union : 'b Js.t -> 'b Js.t Js.meth

Returns the smallest region that contains the current AND targetRegion.

Parameters:

Returns: