14 May
2017
14 May
'17
2:05 a.m.
Hi all,
So I managed to get a line segment to route itself between 2 circles. But if the 2 circles are in a group, and the group's been duped, the circles have the same cx and cy and their group has a different translate(). Ugh!
I have to dup groups because I want to input onclick, onmouseover, onmouseout, and class only once on the group.
Does anyone know how a group's translate() can be incorporated into its component paths' and circles' x and y or cx and cy so getting a location is as simple as reading cx and cy, rather than doing all sorts of arithmetic with the parent's translate()?
Thanks,
SteveT
Steve Litt May 2017 featured book: Twenty Eight Tales of Troubleshooting http://www.troubleshooters.com/28