Is it possible using RaphaelJS ? 我的意思是2D部分。
我想到的唯一方法是按比例重写所有路径,然后调整它们以适应我的画布容器。
答案 0 :(得分:0)
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);