Ben's Sandbox
  • Projects
  • Tags

Using Raphael Sets to Mimic SVG Groups


View Blog   View Source  
This demo shows how to use Raphael sets to mimic the SVG grouping tag. Since Raphael can support both SVG and VML, it abstracts the vector element rendering and exposes API functions to affect those objects. To remain capatible, all the SVG features are not available. However, sets provide a mechanism to mimic the features of groups in SVG. The demo tries to replicate the SVG documenton on the W3 site related to SVG arcs.

© Ben Olson 2012 with help from Jekyll Bootstrap and Twitter Bootstrap