DEV Community

netsi1964 πŸ™πŸ»
netsi1964 πŸ™πŸ»

Posted on

SVG - getTransformedPoint(point, element)

When you get a Point from an SVG element you should take into account that the element can have gone through some transformations, like here where a CSS animation rotates the SVG Group in which the circle and the path are located.

Discussion (0)