拉斐尔+ svgweb + SVG核心
是否可以将 Raphael js 与 svg web 和 svg core(原始 SVG API)一起使用,以便我可以获得所有可用功能的好处?我尝试将它们加载在一起,但什么也没有发生。也许它们会覆盖彼此的功能。
更准确地说,我的问题是我可以在单个 SVG 上应用 Raphael js 和 svgweb 吗?
Can it be possible to use Raphael js with svg web and svg core (original SVG API), so that I can get the benefit of all available features? I tried to load them together, but nothing would happen. Perhaps they overwrite each other's functionalities.
More precisely, once again my question is can I apply Raphael js along with svgweb on a single SVG.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我尝试组合 SVG 库,主要问题是它们使用自己的画布,因此一个库总是位于另一个库之上。
I tried combining SVG libraries , the main problem is that they use their own canvas so one will always be on top of the other.
我想它们不仅会相互冲突,而且这些库也很大,因此需要为访问者下载很多东西。还要考虑浏览器的额外负担,它必须解释所有库并将它们保存在内存中,这可能会使浏览体验变得不那么流畅。
您到底想实现什么目标,而这些库中的任何一个都无法完成?
I suppose they wouldn't just conflict with each other, but those libraries are also quite big so that's a lot of stuff to download for your visitors. Also think of the added burden for the browser which has to interpret all of the libs and hold them in memory, potentially making the browsing experience less snappy.
What exactly are you trying to achieve that can't be done with a single one of those libs?