RichTextKit icon indicating copy to clipboard operation
RichTextKit copied to clipboard

TextBlock and Halo

Open charlenni opened this issue 4 years ago • 1 comments

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?

charlenni avatar Jan 05 '22 13:01 charlenni

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).

toptensoftware avatar Jan 05 '22 23:01 toptensoftware