How do I get the text with a semi-transparent paint to render correctly on Android

I created a cross platform application that uses "shared projects" to perform all of the drawing operations. The shared code runs the same way on all platforms and uses SkiaSharp to perform the rendering. On Windows, the SkiaSharp element the I use as a canvas is the SkiaSharp.Views.WPF.SKElement. On Android, the SkiaSharp element that I use is the SkiaSharp.Views.Forms.SKCanvasView.
Both platforms are using SkiaSharp V1.58.0.
I have not tested the application on iOS yet.
You can see the difference in the two platforms in the attached images.
The letters GH are drawn last on the canvas with a SKPaint with the color set to "#20505000'.

Best Answers


Sign In or Register to comment.