Coords Class
Creates objects with coordinates (x1, y1, x2, y2, cx, cy, width, height) to simulate DOM elements on the screen. Coords is used by Gridster to create a faux grid with any DOM element can collide.
Constructor
Coords
(
Object
-
obj
Parameters:
-
obj
HTMLElement | ObjectThe jQuery HTMLElement or a object with: left, top, width and height properties.
Returns:
Object:
Coords instance.