在Javascript中的矢量图形? [英] Vector graphics in Javascript?

查看:72
本文介绍了在Javascript中的矢量图形?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Flash / Flex的优点之一是可以使用矢量图形(SVG),这很好。我做了一些四处搜索,发现了这个 Javascript矢量图形库。这是非常简单的东西,但它让我思考:是否有任何使用矢量图形文件的可能性,如使用Javascript / HTML的SVG或它只是不能合理地完成或完成?

解决方案

我已经使用RaphaëlJavascript Library ,它工作得很好。目前该库支持Firefox 3.0+,Safari 3.0+,Opera 9.5+和Internet Explorer 6.0+。

One of the advantages of Flash/Flex is that you can use vector graphics (SVG), which is nice. I did a bit of searching around and came across this Javascript vector graphics library. It's pretty simple stuff but it got me thinking: is there any possibility of using vector graphics files such as SVG with Javascript/HTML or it just can't be done or done reasonably?

解决方案

I've used Raphaël Javascript Library and it worked quite well. Currently the library supports Firefox 3.0+, Safari 3.0+, Opera 9.5+ and Internet Explorer 6.0+.

这篇关于在Javascript中的矢量图形?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆