Questions tagged «svg.js»

3
Snap.svg vs Svg.js [关闭]
已关闭。这个问题是基于观点的。它当前不接受答案。 想改善这个问题吗?更新问题,以便通过编辑此帖子以事实和引用的形式回答。 6年前关闭。 改善这个问题 我试图为现代浏览器找到合适的SVG库。我的目标是确定哪种库适合使用例如创建简单的在线SVG编辑器。文本和路径编辑和剪切带有路径的文本。 我发现两个库,其可以是合适的:Snap.svg和Svg.js。 快照 Github:https : //github.com/adobe-webplatform/Snap.svg 源代码行:6925 Github星星:3445 文档:http ://snapsvg.io/docs/ 入门:http ://snapsvg.io/start / 入门示例(JSBIN) var draw = Snap(800, 600); // create image var image = draw.image('/images/shade.jpg', 0, -150, 600, 600); // create text var text = draw.text(0,120, 'SNAP.SVG'); text.attr({ fontFamily: 'Source Sans Pro', fontSize: 120, textAnchor: …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.