SkiaSharp.Views 4.152.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.
1
SkiaSharp.Views.Maui.Core
SkiaSharp for .NET MAUI is a set of views that can be used to draw on the screen.
1

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 0 09/30/2026
4.155.0-preview.1.26471.14 0 09/29/2026
4.154.0-rc.1.26479.14 0 09/30/2026
4.154.0-preview.2.26471.11 0 09/29/2026
4.154.0-preview.1.26454.9 0 09/05/2026
4.153.1 0 09/30/2026
4.153.0 0 09/29/2026
4.153.0-rc.1.26456.2 0 09/17/2026
4.153.0-preview.1.26454.6 0 09/05/2026
4.152.3 0 09/30/2026
4.152.2 0 09/29/2026
4.152.1 0 09/17/2026
4.152.0 1 10/07/2026
4.152.0-rc.1.26426.14 0 08/27/2026
4.152.0-preview.1.1 0 08/08/2026
4.151.5 0 09/30/2026
4.151.4 0 09/29/2026
4.151.3 0 09/18/2026
4.151.2 0 09/03/2026
4.151.1 0 08/05/2026
4.151.0 0 07/31/2026
4.151.0-rc.1.1 0 07/22/2026
4.151.0-preview.2.1 0 07/14/2026
4.151.0-preview.1.1 0 07/02/2026
4.150.5 0 09/30/2026
4.150.4 0 09/28/2026
4.150.3 0 09/02/2026
4.150.2 0 08/05/2026
4.150.1 0 07/14/2026
4.150.0 0 07/08/2026
4.150.0-rc.1.1 0 06/30/2026
4.150.0-preview.2.1 0 06/25/2026
4.150.0-preview.1.1 0 06/15/2026
4.148.0 0 06/23/2026
4.148.0-rc.1.2 0 06/14/2026
4.147.0-preview.3.1 0 05/25/2026
4.147.0-preview.2.1 0 05/11/2026
4.147.0-preview.1.1 0 04/28/2026
3.119.4 0 05/25/2026
3.119.4-preview.1.1 0 04/23/2026
3.119.3-preview.1.1 0 02/11/2026
3.119.2 0 02/07/2026
3.119.2-preview.3.1 0 02/05/2026
3.119.2-preview.2.3 0 01/26/2026
3.119.2-preview.1 0 10/14/2025
3.119.1 0 09/23/2025
3.119.1-preview.1 0 09/08/2025
3.119.0 0 04/29/2025
3.119.0-stable.1 0 04/29/2025
3.119.0-preview.1.2 0 04/01/2025
3.118.0-preview.2.3 0 12/05/2024
3.118.0-preview.1.2 0 11/06/2024
3.116.1 0 12/05/2024
3.116.0 0 12/03/2024
3.116.0-preview.6.1 0 11/06/2024
3.0.0-preview.5.4 0 10/24/2024
3.0.0-preview.4.1 0 07/18/2024
3.0.0-preview.3.1 0 04/10/2024
3.0.0-preview.2.1 0 02/20/2024
3.0.0-preview.1.8 0 02/06/2024
3.0.0-preview.0.132 0 04/09/2024
2.88.9 0 11/07/2024
2.88.9-preview.2.2 0 10/24/2024
2.88.9-preview.1.1 0 07/18/2024
2.88.8 0 04/10/2024
2.88.8-preview.1.1 0 04/05/2024
2.88.7 0 01/11/2024
2.88.6 0 09/21/2023
2.88.6-preview.1.2 0 08/31/2023
2.88.5 0 08/23/2023
2.88.4 0 08/22/2023
2.88.4-preview.96 0 08/17/2023
2.88.4-preview.95 0 08/16/2023
2.88.4-preview.89 0 07/25/2023
2.88.4-preview.84 0 06/27/2023
2.88.4-preview.82 0 06/26/2023
2.88.4-preview.76 0 06/19/2023
2.88.4-preview.70 0 06/15/2023
2.88.3 0 10/04/2022
2.88.2 0 09/08/2022
2.88.2-preview.8 0 09/08/2022
2.88.1 0 08/17/2022
2.88.1-preview.108 0 08/12/2022
2.88.1-preview.104 0 08/10/2022
2.88.1-preview.91 0 07/15/2022
2.88.1-preview.79 0 06/29/2022
2.88.1-preview.75 0 06/27/2022
2.88.1-preview.71 0 06/20/2022
2.88.1-preview.63 0 06/08/2022
2.88.1-preview.1 0 05/22/2022
2.88.0 0 05/22/2022
2.88.0-preview.266 0 05/11/2022
2.88.0-preview.256 0 04/26/2022
2.88.0-preview.254 0 04/17/2022
2.88.0-preview.232 0 03/17/2022
2.88.0-preview.209 0 02/18/2022
2.88.0-preview.187 0 01/27/2022
2.88.0-preview.179 0 12/18/2021
2.88.0-preview.178 0 12/15/2021
2.88.0-preview.155 0 10/29/2021
2.88.0-preview.152 0 10/22/2021
2.88.0-preview.150 0 10/11/2021
2.88.0-preview.145 0 09/28/2021
2.88.0-preview.140 0 09/15/2021
2.88.0-preview.139 0 09/13/2021
2.88.0-preview.127 0 08/21/2021
2.88.0-preview.120 0 08/10/2021
2.88.0-preview.61 0 07/12/2021
2.80.4 0 05/21/2022
2.80.4-preview.9 0 05/11/2022
2.80.4-preview.5 0 09/13/2021
2.80.4-preview.2 0 08/19/2021
2.80.3 0 07/12/2021
2.80.3-preview.93 0 06/12/2021
2.80.3-preview.90 0 05/30/2021
2.80.3-preview.40 0 02/06/2021
2.80.3-preview.24 0 01/27/2021
2.80.3-preview.18 0 11/10/2020
2.80.2 0 09/11/2020
2.80.2-preview.36 0 09/03/2020
2.80.2-preview.33 0 08/25/2020
2.80.2-preview.19 0 08/04/2020
2.80.2-preview.18 0 08/02/2020
2.80.2-preview.9 0 07/27/2020
2.80.1 0 07/14/2020
2.80.0 0 07/09/2020
2.80.0-preview.33 0 07/01/2020
2.80.0-preview.24 0 06/27/2020
2.80.0-preview.14 0 06/18/2020
2.80.0-preview.12 0 06/16/2020
2.80.0-preview.3 0 06/08/2020
1.68.3 0 05/18/2020
1.68.3-preview.2 0 05/18/2020
1.68.2.1 0 05/02/2020
1.68.2 0 04/30/2020
1.68.2-preview.60 0 04/13/2020
1.68.2-preview.50 0 04/03/2020
1.68.2-preview.45 0 03/24/2020
1.68.2-preview.43 0 03/18/2020
1.68.2-preview.39 0 02/27/2020
1.68.2-preview.29 0 02/07/2020
1.68.2-preview.21 0 01/20/2020
1.68.2-preview.17 0 01/11/2020
1.68.1.1 0 12/21/2019
1.68.1.1-preview.9 0 12/10/2019
1.68.1 0 11/22/2019
1.68.1-rc.172 0 11/17/2019
1.68.1-rc.170 0 11/16/2019
1.68.1-rc.169 0 11/14/2019
1.68.1-rc.165 0 11/07/2019
1.68.1-rc.153 0 10/24/2019
1.68.1-rc.147 0 09/26/2019
1.68.0 0 12/04/2018
1.68.0-preview28 0 11/14/2018
1.60.3 0 08/13/2018
1.60.2 0 06/28/2018
1.60.1 1 10/07/2026
1.60.0 0 02/22/2018
1.59.3 0 12/19/2017
1.59.2 0 10/26/2017
1.59.1.1 0 09/12/2017
1.59.1 0 07/18/2017
1.59.0 0 07/15/2017
1.58.1.1 0 09/12/2017
1.58.1 0 06/30/2017
1.58.0 0 05/19/2017
1.57.1 0 05/05/2017
1.57.0 0 04/11/2017
1.56.2 0 03/09/2017
1.56.1 0 02/08/2017
1.56.1-beta 0 02/02/2017
1.56.0 0 01/16/2017
1.55.1 0 11/21/2016
1.55.0 1 10/07/2026
1.54.1-beta1 0 10/12/2016