Skip to content

pag动画开发,是否有设置播放动画速率的方法 #2332

Answered by kevingpqi123
1169573997 asked this question in Q&A
Discussion options

You must be logged in to vote

这些基础的问题建议看官方文档:
https://pag.art/docs/time-stretch.html

以及系统看 API 接口
Set the duration of this PAGFile. Passing a value less than or equal to 0 resets the duration to its default value.

  • (void)setDuration:(int64_t)duration
    Declared In
    PAGFile.h

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@1169573997
Comment options

@kevingpqi123
Comment options

@1169573997
Comment options

Answer selected by kevingpqi123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants