-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different Position from getBBox(); #641
Comments
richardlowenthal
changed the title
Different Position from logoSnapNew.getBBox();
Different Position from getBBox();
Sep 28, 2020
Maybe create a minimal jsfiddle highlighting the question. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We're trying to get the position of a svg element using getbbox().
For example, we have an elementLogo at x y = 484, 247.
When I use this:
var logoSnapNew = Snap(elementLogo); var cBoxLogoNew = logoSnapNew.getBBox();
It returns 247, 117 instead and the elementLogo is placed a different location. Appreciate any help.
The text was updated successfully, but these errors were encountered: