【发布时间】:2015-09-08 22:18:19
【问题描述】:
我对 raphael.js 很陌生,我正在尝试为 raphael 元素制作动画。例如,我使用 paper.path() 绘制了一个箭头。
var arrow = paper.path("M10,10L100,100");
arrow.attr({
"stroke-width": 5,
"stroke-dasharray": "-.",
"arrow-end": "classic-wide-long"
});
如何使箭头的颜色在绘制时看起来像是在闪烁?
【问题讨论】:
标签: javascript html path raphael