【发布时间】:2011-09-16 17:11:15
【问题描述】:
Is it possible using RaphaelJS ? 我的意思是 2D 部分。
我认为唯一的方法是按比例重写所有路径,然后调整它们的大小以适合我的画布容器。
【问题讨论】:
标签: jquery canvas svg javascript raphael
Is it possible using RaphaelJS ? 我的意思是 2D 部分。
我认为唯一的方法是按比例重写所有路径,然后调整它们的大小以适合我的画布容器。
【问题讨论】:
标签: jquery canvas svg javascript raphael
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);
【讨论】: