Open richardlowenthal opened 3 years ago
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.
Maybe create a minimal jsfiddle highlighting the question.
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.