Thanks in advance.
Here is my code,
<svg width="500px" height="500px" viewBox="0 0 200 200">
<rect x="60" y="60" width="80" height="40" style="fill: none; stroke: green;"/>
</svg>
I need to re-size this rectangle from any location. But unlike HTML DOM, not all elements have an upper left hand corner x,y coordinate and a width and height for a box surrounding the content. This makes it inconvenient to make a generic resize or drag procedure.
how to achieve this? Could someone help me with any idea's or solution's!