Fabric object都有animate方法. rect.animate('angle', 45, { onChange: canvas.renderAll.bind(canvas) });. 那么正方形会从0到45有一个动画过度.
確定! 回上一頁