Compute the 4 vertices a
,b
,c
,d
absolute coordinates of any, deep, transform
ed, position
ed DOM element.
a b
+--------------+
| |
| el |
| |
+--------------+
d c
Usage
var el = document; var v = ; console;
outputs:
a: x: y: z: b: x: y: z: c: x: y: z: d: x: y: z:
jQuery plugin
var $el = ;var v = $el; console;
you can also trace
vertices for debug purpose:
v;
or remove the trace:
v;