svg-variable-width-line:创建每个点的svg路径可以具有可变宽度

时间:2021-03-04 04:53:41
【文件属性】:
文件名称:svg-variable-width-line:创建每个点的svg路径可以具有可变宽度
文件大小:203KB
文件格式:ZIP
更新时间:2021-03-04 04:53:41
svg path stroke TypeScript SVG可变宽度线 创建每个点的svg path可以具有可变宽度。 可以使用PointerEvent.pressure创建行。 import * as svgVariableWidthLine from 'svg-variable-width-line' ; svgVariableWidthLine . compute ( { points : [ { x : 0 , y : 0 , w : 1 } , { x : 1 , y : 0 , w : 0 } ] , } ) ; // { d: '' }
【文件预览】:
svg-variable-width-line-master
----.gitignore(100B)
----mochapack.opts(59B)
----package.json(2KB)
----Makefile(505B)
----package-lock.json(758KB)
----src()
--------utils()
--------vector2()
--------index.ts(175B)
--------compute.ts(1KB)
--------types.ts(112B)
--------smooth.ts(938B)
----webpack.test.config.js(165B)
----webpack.config.js(235B)
----LICENSE(1KB)
----CHANGELOG.md(1KB)
----tsconfig.json(377B)
----.eslintrc.js(502B)
----scripts()
--------deploy.sh(392B)
----README.md(703B)
----demo()
--------tsconfig.json(115B)
--------index.html(513B)
--------index.ts(3KB)
--------index.css(238B)
----tests()
--------tsconfig.json(115B)
--------vector2()
--------compute.spec.ts(1KB)
----.eslintignore(10B)
----index.html(456B)
----.vscode()
--------cspell.json(282B)
--------extensions.json(503B)
----babel.config.js(49B)
----.circleci()
--------config.yml(1KB)
----webpack.demo.config.js(768B)
----renovate.json(107B)
----webpack.common.config.js(424B)
----.prettierrc(68B)

网友评论