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

TextBlock and Halo #42

Open
charlenni opened this issue Jan 5, 2022 · 1 comment
Open

TextBlock and Halo #42

charlenni opened this issue Jan 5, 2022 · 1 comment

Comments

@charlenni
Copy link
Contributor

Is there an easy way to create a halo for a given TextBlock? Perhaps by getting the SKPath for the drawn characters and then use SKPaint.GetFillPath()? Or draw TextBlock twice?

@toptensoftware
Copy link
Owner

There's nothing built in for this, but adding support for converting a TextBlock to a text path is an interesting idea.

Unfortunately I don't see a SkiaSharp GetTextPath() method that takes a SKTextBlob (which is what RichTextKit uses internally for rendering text).

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