SkiaSharp.Views 4.153.0

SkiaSharp.Views

NuGet NuGet downloads License: MIT

SkiaSharp.Views provides native SkiaSharp drawing views for Android, iOS, Mac Catalyst, macOS, tvOS, and Tizen applications. Each view owns the platform rendering surface and raises a familiar PaintSurface event so application code can draw with SKCanvas.

What you get

  • SKCanvasView for CPU-rendered, on-demand drawing.
  • GPU-backed views using OpenGL, Metal, or the platform's accelerated rendering surface.
  • Touch and input helpers, density-aware sizing, and explicit invalidation.
  • Platform-native view types that fit directly into each UI framework.

Get started

Install the package into a native platform application:

dotnet add package SkiaSharp.Views

Create the platform SKCanvasView and handle PaintSurface:

private void OnPaintSurface(object sender, SKPaintSurfaceEventArgs e)
{
    var canvas = e.Surface.Canvas;
    canvas.Clear(SKColors.White);

    using var paint = new SKPaint
    {
        Color = SKColors.CornflowerBlue,
        IsAntialias = true,
    };

    canvas.DrawCircle(e.Info.Width / 2f, e.Info.Height / 2f, 120, paint);
}

The namespace and native base type vary by target:

Target Namespace Primary view
Android SkiaSharp.Views.Android SKCanvasView
iOS and Mac Catalyst SkiaSharp.Views.iOS SKCanvasView
macOS SkiaSharp.Views.Mac SKCanvasView
tvOS SkiaSharp.Views.tvOS SKCanvasView
Tizen SkiaSharp.Views.Tizen SKCanvasView

Using another UI framework?

Choose the package that matches the application framework:

Framework Package
.NET MAUI SkiaSharp.Views.Maui.Controls
Blazor WebAssembly SkiaSharp.Views.Blazor
Windows Forms SkiaSharp.Views.WindowsForms
WPF SkiaSharp.Views.WPF
WinUI 3 SkiaSharp.Views.WinUI
GTK 3 or GTK 4 SkiaSharp.Views.Gtk3 or SkiaSharp.Views.Gtk4
Uno Platform SkiaSharp.Views.Uno.WinUI

Documentation and resources

Feedback and contributing

SkiaSharp is an open-source Microsoft project built with the .NET community. Use GitHub Discussions for questions, file bugs and feature requests in the issue tracker, and read the contributing guide to get involved.

This package is released under the MIT license.

Showing the top 20 packages that depend on SkiaSharp.Views.

Packages Downloads
Microsoft.Maui.Graphics.Skia
.NET Multi-platform App UI (.NET MAUI) is a cross-platform framework for creating native mobile and desktop apps with C# and XAML. This package contains additional graphics and drawing APIs for using the SkiaSharp graphics engine with .NET MAUI Graphics.
22
Microsoft.Maui.Graphics.Skia
SkiaSharp implementation for Microsoft.Maui.Graphics.Skia
23
Microsoft.Maui.Graphics.Skia
SkiaSharp implementation for Microsoft.Maui.Graphics.Skia
27
Microsoft.Maui.Graphics.Skia
SkiaSharp implementation for Microsoft.Maui.Graphics.Skia
28
Microsoft.Maui.Graphics.Skia
SkiaSharp implementation for Microsoft.Maui.Graphics.Skia
30
Microsoft.Maui.Graphics.Skia
SkiaSharp implementation for Microsoft.Maui.Graphics.Skia
49
Xamarin.Forms
Build native UIs for iOS, Android, UWP, macOS, Tizen and many more from a single, shared C# codebase
26
Xamarin.Forms
Build native UIs for iOS, Android, UWP, macOS, Tizen and many more from a single, shared C# codebase
30
Xamarin.Forms
Build native UIs for iOS, Android, UWP, macOS, Tizen and many more from a single, shared C# codebase
32
Xamarin.Forms
Build native UIs for iOS, Android, UWP, macOS, Tizen and many more from a single, shared C# codebase
33
Xamarin.Forms
Build native UIs for iOS, Android, UWP, macOS, Tizen and many more from a single, shared C# codebase
35
Xamarin.Forms
Build native UIs for iOS, Android, UWP, macOS, Tizen and many more from a single, shared C# codebase
37
Xamarin.Forms
Build native UIs for iOS, Android, UWP, macOS, Tizen and many more from a single, shared C# codebase
38
Xamarin.Forms
Build native UIs for iOS, Android, UWP, macOS, Tizen and many more from a single, shared C# codebase
40
Xamarin.Forms
Build native UIs for iOS, Android, UWP, macOS, Tizen and many more from a single, shared C# codebase
43
Xamarin.Forms
Build native UIs for iOS, Android, UWP, macOS, Tizen and many more from a single, shared C# codebase
52

Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release notes.

.NET 10.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET Framework 4.6.2

.NET Framework 4.8

.NET 6.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

Version Downloads Last updated
4.155.0-preview.2.26479.13 1 30.09.2026
4.155.0-preview.1.26471.14 5 05.10.2026
4.154.0-rc.1.26479.14 3 05.10.2026
4.154.0-preview.2.26471.11 1 09.10.2026
4.154.0-preview.1.26454.9 4 26.09.2026
4.153.1 1 30.09.2026
4.153.0 3 06.10.2026
4.153.0-rc.1.26456.2 4 26.09.2026
4.153.0-preview.1.26454.6 5 26.09.2026
4.152.3 2 30.09.2026
4.152.2 3 05.10.2026
4.152.1 5 26.09.2026
4.152.0 5 26.09.2026
4.152.0-rc.1.26426.14 2 26.09.2026
4.152.0-preview.1.1 7 12.08.2026
4.151.5 3 06.10.2026
4.151.4 2 30.09.2026
4.151.3 3 26.09.2026
4.151.2 4 26.09.2026
4.151.1 7 12.08.2026
4.151.0 7 12.08.2026
4.151.0-rc.1.1 7 12.08.2026
4.151.0-preview.2.1 7 21.07.2026
4.151.0-preview.1.1 7 21.07.2026
4.150.5 3 05.10.2026
4.150.4 1 30.09.2026
4.150.3 5 26.09.2026
4.150.2 7 12.08.2026
4.150.1 3 20.07.2026
4.150.0 8 20.07.2026
4.150.0-rc.1.1 6 21.07.2026
4.150.0-preview.2.1 6 21.07.2026
4.150.0-preview.1.1 7 22.06.2026
4.148.0 4 20.07.2026
4.148.0-rc.1.2 7 22.06.2026
4.147.0-preview.3.1 9 28.05.2026
4.147.0-preview.2.1 9 20.05.2026
4.147.0-preview.1.1 14 04.05.2026
3.119.4 7 28.05.2026
3.119.4-preview.1.1 5 26.04.2026
3.119.3-preview.1.1 8 15.02.2026
3.119.2 9 09.02.2026
3.119.2-preview.3.1 10 09.02.2026
3.119.2-preview.2.3 9 09.02.2026
3.119.2-preview.1 11 25.10.2025
3.119.1 14 25.10.2025
3.119.1-preview.1 13 16.09.2025
3.119.0 18 29.05.2025
3.119.0-stable.1 18 31.05.2025
3.119.0-preview.1.2 17 04.06.2025
3.118.0-preview.2.3 20 30.01.2025
3.118.0-preview.1.2 18 01.02.2025
3.116.1 19 05.02.2025
3.116.0 19 05.02.2025
3.116.0-preview.6.1 18 05.02.2025
3.0.0-preview.5.4 20 07.02.2025
3.0.0-preview.4.1 20 05.02.2025
3.0.0-preview.3.1 18 19.02.2025
3.0.0-preview.2.1 19 08.02.2025
3.0.0-preview.1.8 18 05.02.2025
3.0.0-preview.0.132 18 05.02.2025
2.88.9 18 04.02.2025
2.88.9-preview.2.2 18 05.02.2025
2.88.9-preview.1.1 19 31.01.2025
2.88.8 19 07.02.2025
2.88.8-preview.1.1 19 31.01.2025
2.88.7 19 05.02.2025
2.88.6 19 06.02.2025
2.88.6-preview.1.2 21 01.02.2025
2.88.5 18 08.02.2025
2.88.4 20 07.02.2025
2.88.4-preview.96 20 05.02.2025
2.88.4-preview.95 19 05.02.2025
2.88.4-preview.89 18 06.02.2025
2.88.4-preview.84 21 06.02.2025
2.88.4-preview.82 17 05.02.2025
2.88.4-preview.76 18 01.02.2025
2.88.4-preview.70 18 05.02.2025
2.88.3 19 17.02.2025
2.88.2 18 31.01.2025
2.88.2-preview.8 19 06.02.2025
2.88.1 19 06.02.2025
2.88.1-preview.108 21 19.02.2025
2.88.1-preview.104 20 18.02.2025
2.88.1-preview.91 20 19.02.2025
2.88.1-preview.79 18 08.02.2025
2.88.1-preview.75 18 09.02.2025
2.88.1-preview.71 19 04.02.2025
2.88.1-preview.63 18 08.02.2025
2.88.1-preview.1 19 07.02.2025
2.88.0 18 18.02.2025
2.88.0-preview.266 18 05.02.2025
2.88.0-preview.256 17 31.01.2025
2.88.0-preview.254 16 08.02.2025
2.88.0-preview.232 19 31.01.2025
2.88.0-preview.209 19 31.01.2025
2.88.0-preview.187 18 18.02.2025
2.88.0-preview.179 20 31.01.2025
2.88.0-preview.178 16 31.01.2025
2.88.0-preview.155 21 31.01.2025
2.88.0-preview.152 18 18.02.2025
2.88.0-preview.150 20 31.01.2025
2.88.0-preview.145 18 31.01.2025
2.88.0-preview.140 16 31.01.2025
2.88.0-preview.139 21 01.02.2025
2.88.0-preview.127 20 31.01.2025
2.88.0-preview.120 21 19.02.2025
2.88.0-preview.61 19 20.02.2025
2.80.4 18 04.02.2025
2.80.4-preview.9 20 18.02.2025
2.80.4-preview.5 18 07.02.2025
2.80.4-preview.2 18 08.02.2025
2.80.3 19 06.02.2025
2.80.3-preview.93 16 08.02.2025
2.80.3-preview.90 16 31.01.2025
2.80.3-preview.40 16 06.02.2025
2.80.3-preview.24 17 09.02.2025
2.80.3-preview.18 19 07.02.2025
2.80.2 17 31.01.2025
2.80.2-preview.36 18 01.02.2025
2.80.2-preview.33 18 31.01.2025
2.80.2-preview.19 19 31.01.2025
2.80.2-preview.18 18 03.02.2025
2.80.2-preview.9 18 31.01.2025
2.80.1 19 08.02.2025
2.80.0 17 05.02.2025
2.80.0-preview.33 17 31.01.2025
2.80.0-preview.24 18 18.02.2025
2.80.0-preview.14 20 31.01.2025
2.80.0-preview.12 19 08.02.2025
2.80.0-preview.3 18 04.02.2025
1.68.3 17 06.02.2025
1.68.3-preview.2 18 05.02.2025
1.68.2.1 19 08.02.2025
1.68.2 16 07.02.2025
1.68.2-preview.60 18 06.02.2025
1.68.2-preview.50 20 04.02.2025
1.68.2-preview.45 18 05.02.2025
1.68.2-preview.43 19 04.02.2025
1.68.2-preview.39 19 06.02.2025
1.68.2-preview.29 20 04.02.2025
1.68.2-preview.21 19 06.02.2025
1.68.2-preview.17 20 06.02.2025
1.68.1.1 17 05.02.2025
1.68.1.1-preview.9 19 06.02.2025
1.68.1 17 05.02.2025
1.68.1-rc.172 19 08.02.2025
1.68.1-rc.170 20 07.02.2025
1.68.1-rc.169 18 04.02.2025
1.68.1-rc.165 17 18.02.2025
1.68.1-rc.153 18 08.02.2025
1.68.1-rc.147 20 08.02.2025
1.68.0 18 03.02.2025
1.68.0-preview28 19 06.02.2025
1.60.3 18 08.02.2025
1.60.2 19 08.02.2025
1.60.1 19 05.02.2025
1.60.0 18 07.02.2025
1.59.3 18 16.02.2025
1.59.2 19 07.02.2025
1.59.1.1 18 06.02.2025
1.59.1 20 08.02.2025
1.59.0 18 02.02.2025
1.58.1.1 20 06.02.2025
1.58.1 19 04.02.2025
1.58.0 17 04.02.2025
1.57.1 20 05.02.2025
1.57.0 18 06.02.2025
1.56.2 18 06.02.2025
1.56.1 19 08.02.2025
1.56.1-beta 17 05.02.2025
1.56.0 19 06.02.2025
1.55.1 20 08.02.2025
1.55.0 20 07.02.2025
1.54.1-beta1 20 04.02.2025