Skip to content

如何获取 compositionStartTime #2609

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

You must be logged in to vote

PAGLayer 上面有一个 startTime 的接口, 获取到的是当前图层相对于父级的起始时间,PAGFile 是一个树状渲染结果,如果需要获取相对于根节点的起始时间, 再调用 localTimeToGlobal, 建议多看下 API 文档, API 接口注释写的很详细

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
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