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
Several things affect svg elements position, like parent groups, transform matrix, path coordinates and svg properties like x, y.
You should not set x, y directly in svg elements, but use specific svg properties to move it.
For example, if it is a Rect you can set properties SvgX and SvgY to move it.
I'm trying to move SVG elements around within the SVG, I mean change the position of some elements of a particular class.
I see the x and y position of the SVG elements are reported as 0, why so?
Although getBounds() returns the correct position and size.
When I try setting the x or y properties of the SVG element the element does move but the position is incorrect.
Is there any util that sets position of the SVG elements?
The text was updated successfully, but these errors were encountered: