我不确定如何淡入和淡出路径以及我为它创建的阴影:
var p = "M10,10L810,10L810,190L10,190L10,10";
var s = "M16,16L816,16L816,196L16,196L16,16";
var paper = Raphael(100, 100, 830, 210);
var shadow = paper.path(s);
shadow.attr({stroke: "none", fill: "#999999", opacity:0.1});
shadow.blur(4);
var c = paper.path(p);
c.attr({fill:"#ffffff", stroke:"none"});
我是否必须同时手动为 c 和 shadow 设置动画?有没有办法我可以告诉这张特殊的纸淡化它里面的所有东西?