Eto.SkiaDraw 0.2.0

.NET Standard 2.0
There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package Eto.SkiaDraw -Version 0.2.0
dotnet add package Eto.SkiaDraw --version 0.2.0
<PackageReference Include="Eto.SkiaDraw" Version="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Eto.SkiaDraw --version 0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Eto.SkiaDraw, 0.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Eto.SkiaDraw as a Cake Addin
#addin nuget:?package=Eto.SkiaDraw&version=0.2.0

// Install Eto.SkiaDraw as a Cake Tool
#tool nuget:?package=Eto.SkiaDraw&version=0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Eto.SkiaDraw

Build Quality Gate Status NuGet License

Provides an Eto.Forms view control that allows using SkiaSharp functionality for drawing and let Eto do the rendering.

Demo applications : https://nightly.link/rafntor/Eto.SkiaDraw/workflows/build/master

Quickstart

Use NuGet to install Eto.SkiaDraw, then subclass a Eto.SkiaDraw.SkiaDrawable and override the OnPaint event like in the following example:

class TestView : SkiaDrawable
{
   protected override void OnPaint(SKPaintEventArgs e)
   {
      SKColor [] colors = { SKColors.DeepPink, SKColors.DeepSkyBlue };

      for (int i = 0; i < 5; ++i)
         e.Surface.Canvas.DrawOval(Width/2, Height/2, Width/(2+i), Height/(2+i), new SKPaint() { Color = colors[i % 2], IsAntialias = true });
   }
}

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Eto.SkiaDraw:

Package Downloads
OxyPlot.Eto.Skia

OxyPlot plotting library for Eto.Forms based on SkiaSharp

Eto.RainbowLoading.Skia

A SkiaSharp implementation based of the famous Android loading indicator for Eto.Forms .

Eto.Microcharts

Provides an Eto.Forms view control for Microcharts.

LiveChartsCore.SkiaSharpView.Eto

Simple, flexible, interactive and powerful data visualization for Eto.Forms.

Mapsui.Eto

Eto.Forms map components based on the Mapsui library

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Eto.SkiaDraw:

Repository Stars
microcharts-dotnet/Microcharts
Create cross-platform (Xamarin, Windows, ...) simple charts.
beto-rodriguez/LiveCharts2
Simple, flexible, interactive & powerful charts, maps and gauges for .Net, LiveCharts2 can now practically run everywhere Maui, Uno Platform, Blazor-wasm, WPF, WinForms, Xamarin, Avalonia, WinUI, UWP.
Mapsui/Mapsui
Mapsui is a .NET Map component for: Xamarin.Forms, WPF, Xamarin.Android and Xamarin.iOS.
Version Downloads Last updated
0.2.1-ci.15 27 5/27/2022
0.2.1-ci.14 52 4/9/2022
0.2.1-ci.12 38 4/9/2022
0.2.1-ci.11 43 4/2/2022
0.2.1-ci.10 40 4/9/2022
0.2.1-ci.8 56 3/2/2022
0.2.1-ci.6 39 3/1/2022
0.2.1-ci.4 40 3/1/2022
0.2.1-ci.2 38 3/1/2022
0.2.0 3,502 2/7/2022
0.1.1-ci.3 52 2/5/2022
0.1.1-ci.2 58 2/1/2022
0.1.0 483 1/20/2022
0.1.0-ci.21 57 1/20/2022
0.1.0-ci.19 59 1/16/2022
0.1.0-ci.18 76 1/15/2022
0.1.0-ci.17 54 1/15/2022
0.1.0-ci.16 68 1/15/2022
0.1.0-ci.14 55 1/14/2022
0.1.0-ci.13 58 1/14/2022
0.1.0-ci.11 53 1/14/2022
0.1.0-ci.10 56 1/14/2022
0.1.0-ci.9 55 1/14/2022
0.1.0-ci.8 55 1/14/2022
0.1.0-ci.7 56 1/14/2022
0.1.0-ci.6 68 1/14/2022