Skip to content
Discussion options

You must be logged in to vote

不太推荐你这样做,添加文本的 Bounds 是可以获取到的,获取文本的显示区域,检测什么时候可以充满区域,然后根据自己的需求进行截断, libpag 对齐的是 AE 的效果,虽然没有提供 API 接口设置最大行数,但是通过目前暴露的 API 接口也是可以实现你需要的功能

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@0x1306a94
Comment options

Answer selected by kevingpqi123
Comment options

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

@0x1306a94
Comment options

@kevingpqi123
Comment options

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
Category
Ideas
Labels
None yet
2 participants