Skip to content

动态创建的PAGTextLayer 如何设置坐标? #2225

Answered by kevingpqi123
cgeffect asked this question in General
Discussion options

You must be logged in to vote

1、PAGComposition 就是一个容器,支持自己创建,具体可以看下 API 文档:
2、对于图形绘制而言,设置位置都是通过 setMatrix,相关用法可以网上搜索下或看下源码中 pag 的测试用例

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@cgeffect
Comment options

@cgeffect
Comment options

Answer selected by kevingpqi123
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants