get-scale-from-info:计算任意点在多轴上缩放的大小和位置(均匀或不均匀)

时间:2021-05-06 22:56:00
【文件属性】:
文件名称:get-scale-from-info:计算任意点在多轴上缩放的大小和位置(均匀或不均匀)
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-06 22:56:00
JavaScript 从信息中获取规模 计算任意点在多轴上缩放的大小和位置(均匀或不均匀)。 这适用于从顶部或左侧进行计算的任何系统,例如浏览器的dom! 安装 如果尚未下载node,请从下载并安装。 npm install get-scale-from-info --save 用法 // require module let getScaleFromInfo = requrie ( 'get-scale-from-info' ) getScaleFromInfo ( { from : [ 0 , 0 ] , // scale from position scale : [ 10 , 2 ] , // amount to scale size : [ 1 , 1 ] , // current size position : [ 0 , 2 ] // current position } ) /
【文件预览】:
get-scale-from-info-master
----.npmignore(49B)
----test.es6(481B)
----CONTRIBUTING.md(3KB)
----.travis.yml(60B)
----LICENSE(747B)
----index.es6(277B)
----README.md(2KB)
----.gitignore(70B)
----example.es6(629B)
----package.json(2KB)

网友评论