Eto.SkiaDraw
0.2.1-ci.4
See the version list below for details.
dotnet add package Eto.SkiaDraw --version 0.2.1-ci.4
NuGet\Install-Package Eto.SkiaDraw -Version 0.2.1-ci.4
<PackageReference Include="Eto.SkiaDraw" Version="0.2.1-ci.4" />
paket add Eto.SkiaDraw --version 0.2.1-ci.4
#r "nuget: Eto.SkiaDraw, 0.2.1-ci.4"
// Install Eto.SkiaDraw as a Cake Addin
#addin nuget:?package=Eto.SkiaDraw&version=0.2.1-ci.4&prerelease
// Install Eto.SkiaDraw as a Cake Tool
#tool nuget:?package=Eto.SkiaDraw&version=0.2.1-ci.4&prerelease
Eto.SkiaDraw
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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.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 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
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 |
|
LiveChartsCore.SkiaSharpView.Eto
Simple, flexible, interactive and powerful data visualization for Eto.Forms. |
|
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. |
|
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 |
---|---|
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.
|
|
microcharts-dotnet/Microcharts
Create cross-platform (Xamarin, Windows, ...) simple charts.
|
|
Mapsui/Mapsui
Mapsui is a .NET Map component for: MAUI, Xamarin, WPF, Avalonia, Uno, WinUI
|
Version | Downloads | Last updated |
---|---|---|
0.2.1-ci.20 | 85 | 5/29/2022 |
0.2.1-ci.19 | 78 | 5/29/2022 |
0.2.1-ci.17 | 79 | 5/29/2022 |
0.2.1-ci.15 | 75 | 5/27/2022 |
0.2.1-ci.14 | 89 | 4/9/2022 |
0.2.1-ci.12 | 78 | 4/9/2022 |
0.2.1-ci.11 | 77 | 4/2/2022 |
0.2.1-ci.10 | 78 | 4/9/2022 |
0.2.1-ci.8 | 93 | 3/2/2022 |
0.2.1-ci.6 | 77 | 3/1/2022 |
0.2.1-ci.4 | 81 | 3/1/2022 |
0.2.1-ci.2 | 76 | 3/1/2022 |
0.2.0 | 16,536 | 2/7/2022 |
0.1.1-ci.3 | 89 | 2/5/2022 |
0.1.1-ci.2 | 94 | 2/1/2022 |
0.1.0 | 1,348 | 1/20/2022 |
0.1.0-ci.21 | 95 | 1/20/2022 |
0.1.0-ci.19 | 97 | 1/16/2022 |
0.1.0-ci.18 | 118 | 1/15/2022 |
0.1.0-ci.17 | 91 | 1/15/2022 |
0.1.0-ci.16 | 114 | 1/15/2022 |
0.1.0-ci.14 | 92 | 1/14/2022 |
0.1.0-ci.13 | 92 | 1/14/2022 |
0.1.0-ci.11 | 93 | 1/14/2022 |
0.1.0-ci.10 | 94 | 1/14/2022 |
0.1.0-ci.9 | 93 | 1/14/2022 |
0.1.0-ci.8 | 88 | 1/14/2022 |
0.1.0-ci.7 | 93 | 1/14/2022 |
0.1.0-ci.6 | 127 | 1/14/2022 |