简体   繁体   English

Raphael + svgweb + svg核心

[英]Raphael + svgweb + svg core

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? 能否将Raphael js与svg web和svg核心(原始SVG API)一起使用,以便我可以利用所有可用功能? 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. 更准确地说,我的问题再次是我可以将Raphael js和svgweb一起应用于单个SVG。

我尝试合并SVG库,主要问题是它们使用自己的画布,因此一个将始终位于另一个之上。

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? 您到底想实现哪些功能,而这些库中只有一个无法完成呢?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM