opened
NAMANANAS
username_0
怎么指定动画执行一遍，停留在最后一桢
以下三个参数该写在哪里
int loops; - Animation loop count, defaults to 0 means infinity loop.
BOOL clearsAfterStop; - defaults to true, means player will clear all contents after stop.
string fillMode; - defaults to Forward，optional Forward / Backward，fillMode = Forward，Animation will pause on last frame while finished，fillMode = Backward , Animation will pause on first frame.




var player = new SVGA.Player('#demoCanvas');
    var parser = new SVGA.Parser('#demoCanvas'); // 如果你需要支持 IE6+，那么必须把同样的选择器传给 Parser。
    parser.loops = 1
    parser.clearsAfterStop = false
    parser.fillMode = "Forward"
    parser.load('./asset/rose_2.0.0.svga', function(videoItem) {
        player.setVideoItem(videoItem);
        player.startAnimation();
    })
怎么指定属性比如fillMode
issue