看来,设置最小/最大框架是一种合适的方式。
//if the animation has 60 frames
lottie_toggle.setMinAndMaxFrame(0,30) //to play the first half
lottie_toggle.setMinAndMaxFrame(30,60) //to play the second half
![]() |
逼格高的山寨机 · 用Animation类来创建动画,打开(开始 ...· 2 天前 · |
![]() |
满身肌肉的野马 · DataGrid - WPF .NET ...· 9 月前 · |
![]() |
有情有义的黑框眼镜 · java获取文件夹下所有文件按时间排序-掘金· 2 年前 · |
![]() |
八块腹肌的冲锋衣 · c++ std list splice-掘金· 2 年前 · |
![]() |
潇洒的茶壶 · 陈伟课题组在《Molecular ...· 2 年前 · |