Is it possible using RaphaelJS ? 我的意思是二维部分。
我想到的唯一方法是按比例重写所有路径,然后调整它们的大小以适合我的 Canvas 容器。
最佳答案
var c = paper.circle(10, 10, 10);
// makes the circle 1.5 times larger
c.scale(1.5, 1.5);
// makes the circle half as wide, and 75% as high
c.scale(.5, .75);
关于jquery - 使用 RaphaelJS 调整形状大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6378170/