Class type Goog.​Math.​box

class type box = object..end

method clone : box Js.t Js.meth

Creates a copy of the box with the same dimensions.

method contains : box Js.t -> bool Js.t Js.meth

Returns whether the box contains a coordinate or another box.

method expand : 
int ->
int Js.opt -> int Js.opt -> int Js.opt -> box Js.t Js.meth

Expands box with the given margins.

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

Returns a nice string representing the box.