How to draw rich text with Skia or SkiaSharp
问题 I want to draw rich text like iOS's Attributed Text or Xamarin.Forms's FormattedString with SkiaSharp , but I can't find how to. I found the DrawText method, but it's for simple text rendering with one color and one font. No mixed colors and/or fonts and no styles like bold, italic, strike-through, or underline. Do I have to do it with my own rich text rendering logic? 回答1: This is doable using the SKPaint type. Basically, as you draw, you set the properties on the paint: var paint = new