Skip to content

多层pag叠加问题求助 #2334

Answered by domchen
zhuiyi007 asked this question in General
Jun 11, 2024 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

这个接口我有看过,他只能对原素材做整体的一些形变,但是我只是想截取原素材内的某些局部范围内的素材,貌似不能满足需求

创建一个空的PAGComposition,设置好要裁剪的宽高就行。然后把你要裁剪的PAGFile添加进去,通过设置setMatrix接口挪动位置,超过父级PAGComposition宽高的位置都不会显示。组合就是这样用的。

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@kevingpqi123
Comment options

@zhuiyi007
Comment options

@kevingpqi123
Comment options

@domchen
Comment options

Answer selected by domchen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants