0
Fabricjs:我有一些圆圈,超出画布层(top:-300),他们有coords,但是当我做指定位置的动画时,他们只是在没有任何动画的指定持续时间内出现在屏幕上。他们为什么这样做,以及如何实现这一点?为什么超越画布的元素不会动画(fabricjs)?
animateCircle(ind, co, shift = -300, ca) {
co.animate('top', shift, {
duration: 1000,
onChange: ind !== null && ++ind === ca.length ? this.c.renderAll.bind(this.c): undefined,
easing: fabric.util.ease[0]
});
}