Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to draw rich-text in skaji? #142

Open
luojinrong opened this issue Apr 7, 2022 · 1 comment
Open

How to draw rich-text in skaji? #142

luojinrong opened this issue Apr 7, 2022 · 1 comment

Comments

@luojinrong
Copy link

I want to draw image with text together, but I don't find any method to use rich-text in skaji. If I draw image and text separately, I may have typographical problems. So I want to know if any ways to use rich-text in skaji?

@tonsky
Copy link
Collaborator

tonsky commented Apr 7, 2022

I think you are supposed to use ParagraphBuilder::addPlaceholder.

P.S. this repo is no longer active, I suggest you switch over to https://github.com/HumbleUI/Skija/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants