Reputation: 101
I am using raphael.s library to draw some shapes on canvas.I have combined different elements in set.I want to know that how to retrieve these elements using for loop on raphael's set.
Upvotes: 4
Views: 1569
Reputation: 4433
Jadkik94's suggestion is better -- using set.forEach() is more likely to be forward compatible with future versions of Raphael.
Upvotes: 3