SVGEditor:最小的基于d3的SVG编辑器

时间:2021-05-15 17:45:22
【文件属性】:
文件名称:SVGEditor:最小的基于d3的SVG编辑器
文件大小:54KB
文件格式:ZIP
更新时间:2021-05-15 17:45:22
HTML #SVGEditor SVGEditor是一个最小JavaScript,基于d3的SVG编辑器(duh),可安装到SVG 和其他对象中以使其可编辑。 它将更改直接复制到SVG DOM中,从而在浏览器中形成可下载的格式正确的SVG。 或至少它会在完成时显示! 在帮助 粗略,早期的概念验证演示 ==== ##记事本 可以添加其他工具,例如SVGEditor.Rotate和SVGEditor.Scale ,它们也可以执行path.setPoints() SVGEditor.Handle也可以生成和管理SVGEditor.Guide 可以使用svgeditor.snap()扫描svg文档以捕捉目标 使用热键修改器提供x和y轴对齐 在svg.Editor.setTool('Move')中,接受键盘输入以获取距离并创建新节点 svg.Editor.setToo
【文件预览】:
SVGEditor-master
----package.json(824B)
----LICENSE(34KB)
----dist()
--------svg-editor.js(23KB)
--------svg-editor.css(33B)
----Gruntfile.js(1KB)
----src()
--------SVGEditor.BezierHandle.js(0B)
--------core()
--------tools()
--------SVGEditor.js(0B)
--------SVGEditor.Environment.js(5KB)
--------primitives()
--------SVGEditor.Primitive.js(2KB)
--------SVGEditor.Handle.js(5KB)
--------SVGEditor.Tool.js(87B)
----examples()
--------upload.html(2KB)
--------index.html(799B)
--------simplify.html(20KB)
--------line.html(7KB)
--------activate.html(20KB)
--------british.svg(19KB)
----.gitignore(42B)
----README.md(962B)

网友评论