toptensoftware / RichTextKit

Rich text rendering for SkiaSharp
Other
366 stars 73 forks source link

TextColor of RichString method does not work after construction #91

Open zhangyiatmicrosoft opened 9 months ago

zhangyiatmicrosoft commented 9 months ago

This works: var rs = new RichString().Add("Hello world", textColor: SKColors.Red);

This does not and text is still black. Am I missing anything? var rs = new RichString().Add("Hello world"); rs.TextColor(SKColors.Green);