linux 系统使用pagview 播放,如何设置播放次数 #2797
Answered
by
domchen
xiaowanzi2025
asked this question in
General
-
在ubuntu系统编译的pagview,目前播放动画是无限循环的,请教下,怎么设置动画的播放次数? |
Beta Was this translation helpful? Give feedback.
Answered by
domchen
Apr 27, 2025
Replies: 2 comments
-
我们在Linux平台并没有提供PAGView的封装,因为Linux平台主要是使用C++接口进行离屏渲染的服务端需求。不确定你说的linux平台的PAGVIew是来自哪的,如果是自己封装的代码,找一下repeatCount相关的属性。 |
Beta Was this translation helpful? Give feedback.
0 replies
8000
Answer selected by
domchen
-
https://github.com/Tencent/libpag/blob/main/src/platform/cocoa/private/PAGAnimator.mm |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我们在Linux平台并没有提供PAGView的封装,因为Linux平台主要是使用C++接口进行离屏渲染的服务端需求。不确定你说的linux平台的PAGVIew是来自哪的,如果是自己封装的代码,找一下repeatCount相关的属性。