Class type Ext_util_Point.t


class type t = object .. end
Inherits
method equals_point : 'a. 'a Js.t -> bool Js.t Js.meth

Compare this point and another point

Parameters:

Returns:


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

Determins whether this Point contained by the passed Region, Component or element.

Parameters:


method isWithin : 'c 'd. 'c Js.t -> 'd Js.t -> bool Js.t Js.meth

Whether the given point is not away from this point within the given threshold amount.

Parameters:


method roundedEquals : 'e. 'e Js.t -> bool Js.t Js.meth

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]

Parameters:


method toString : Js.js_string Js.t Js.meth

Returns a human-eye-friendly string that represents this point, useful for debugging


method translate : 'f. 'f Js.t -> Js.number Js.t -> Ext_util_Region.t Js.t Js.meth

Alias for translateBy

Translate this region by the given offset amount

Parameters:

Returns: