Closed eman1986 closed 4 years ago
Try it like this:
var rs = new RichString()
.FontSize(14)
.TextColor(SKColors.Blue)
.Add("Test Text");
When you add text, it uses the styling that came before the call to add it.
When I do it that way it works, I just wanted to make sure I didn't discover a bug
Yep, that's correct. RichString's fluent style api uses formatting change methods to change the format of subsequently added text - not text that's already been added.
considering the following code:
when I do it this way the color and size are not taking.