instance method Element.Offset#relativeTo
Element.Offset#relativeTo(offset) → Element.Offset
-
offset
(Element.Offset
) – Another offset to compare to.
Returns a new Element.Offset
with its origin at the given
offset
. Useful for determining an element's distance from another
arbitrary element.