You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this API you could calculate the 4 corner points of an elements, even with complex and nested transformations.
And also you could transform a point into coordinates of another element.
At the moment the polyfill does not work 100% with SVG or MathML, but this is cause of missing offsetLeft/Top properties.
The text was updated successfully, but these errors were encountered:
Hello @danish1994 ,
I've worked on a polyfill for the getBoxQuads API(https://github.com/jogibear9988/getBoxQuadsPolyfill).
Info about the API: https://hacks.mozilla.org/2014/03/introducing-the-getboxquads-api/
I needed this API for my designer (https://node-projects.github.io/web-component-designer-demo/index.html), but maybe this could also be usable here.
With this API you could calculate the 4 corner points of an elements, even with complex and nested transformations.
And also you could transform a point into coordinates of another element.
At the moment the polyfill does not work 100% with SVG or MathML, but this is cause of missing offsetLeft/Top properties.
The text was updated successfully, but these errors were encountered: