is Raphaël using canvas or svg?
I've been looking for a good vector solution, and have heard 开发者_C百科good things about Raphaël. But all over its docs it talks about defining canvases, which just made me confused.
Is Raphaël a canvas or SVG library?
In order to facilitate cross browser support, Raphael uses both VML and SVG.
Reference
- https://github.com/DmitryBaranovskiy/raphael
When raphael says canvas it is own terminology and it is not referencing to the HTML5 canvas. It is a layer on top of SVG.
精彩评论