Calculates the relative position of a point from the center of an element
Object containing x and y distances from center
The x-coordinate of the mouse pointer
The y-coordinate of the mouse pointer
The bounding client rectangle of the target element
Generated using TypeDoc
Calculates the relative position of a point from the center of an element
Returns
Object containing x and y distances from center