scalable

Scripting <path> data in SVG (reading and modifying)

做~自己de王妃 提交于 2019-11-26 12:02:01
问题 Can anyone really really help me, please? I\'ve been searching for ways to run scripts for my SVG. But all the things i got doesn\'t match up! And it doesn\'t contain enough information why he used that set of codes. For example, one used event.target, another had event.getTarget(), and another had event.target.firstchild.data. Can anyone help me, please? <svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\"> <path d=\"M150 0 L75 200 L225 200 Z\" /> </svg> is an example of a path svg