Home

Awesome

Microsoft.Maui.Graphics (Experiment)

NuGet

Microsoft.Maui.Graphics is an experimental cross-platform graphics library for iOS, Android, Windows, macOS, Tizen and Linux written completely in C#. A Microsoft supported portion of this library has been merged with dotnet/maui and is maintained separately. This project remains separate for developers to experiment further on additional scenarios such as WASM, WinForms, WPF, Xamarin, and Linux.

With this library you can use a common API to target multiple abstractions allowing you to share your drawing code between platforms, or mix and match graphics implementations within a singular application.

Goals

Status

This is an experimental library; however it's based on code that's been in use in production applications for over 10 years. Because it was refactored out of another code base, some things may have been broken in that process.

Disclaimer

There is no official support. Use at your own Risk.

Supported Platforms

PlatformSupported Abstractions
Xamarin.iOSCoreGraphics & SkiaSharp
Xamarin.AndroidAndroid.Graphics & SkiaSharp
Xamarin.MacCoreGraphics & SkiaSharp
WPFSharpDX, SkiaSharp, Xaml & GDI
UWPSharpDX, Win2D, Xaml, SkiaSharp
WinFormsSharpDX, SkiaSharp & GDI
TizenSkiaSharp
LinuxSkiaSharp
Xamarin.FormsDependent on native platform support (noted above)

Main Abstractions

Known Limitations