Canvaskit Paragraph Stroke Styles?

11 views
Skip to first unread message

corey....@gmail.com

unread,
Oct 22, 2021, 10:30:02 AMOct 22
to skia-discuss
I may be just missing it but, do Paragraph text styles not support stroke/stroke-color in CanvasKit?

Marcus Stenbeck

unread,
Oct 22, 2021, 12:20:44 PMOct 22
to skia-discuss
It doesn't look like it's possible, given what I can see in the current TypeScript definitions.

It might be possible to do by manually drawing the text based on the info in Paragraph.getShapedLines(). I haven't tried doing it myself, but that's where I'd look if I really wanted to make it work.

Reply all
Reply to author
Forward
0 new messages