Forum Xamarin.Forms

Convert System.Drawing.Region to SKRegion

MattJackMattJack FRMember ✭✭

I am porting a windows desktop project that is using System.Drawing into SkiaSharp.
I have some uses of System.Drawing.Region, I need to convert it from and to SKRegion.. How to do that?

Note: I have tried using SkiaSharp.Views nuget which is very useful to convert to/from System.Drawing.Bitmap (for ex), but I could not find any equivallent windows desktop extension for SkRegion.

Tagged:
Sign In or Register to comment.