PeachDrawing.Skia
0.9.26
dotnet add package PeachDrawing.Skia --version 0.9.26
NuGet\Install-Package PeachDrawing.Skia -Version 0.9.26
<PackageReference Include="PeachDrawing.Skia" Version="0.9.26" />
<PackageVersion Include="PeachDrawing.Skia" Version="0.9.26" />
<PackageReference Include="PeachDrawing.Skia" />
paket add PeachDrawing.Skia --version 0.9.26
#r "nuget: PeachDrawing.Skia, 0.9.26"
#:package PeachDrawing.Skia@0.9.26
#addin nuget:?package=PeachDrawing.Skia&version=0.9.26
#tool nuget:?package=PeachDrawing.Skia&version=0.9.26
PeachDrawing.Skia
A SkiaSharp Canvas for PeachDrawing.Core: draw shapes, gradients, clips, layers, text and images with Skia, with no PDF, HTML or CSS involved.
You supply the surface. The package never creates a window, a GPU context or a surface: it draws into an SKCanvas you already have, so it draws on the GPU exactly when the surface behind that canvas does. It is not tied to a platform - use it on Android (SKGLView/SKCanvasView), iOS, Windows, Linux or macOS.
using PeachDrawing.Core;
using PeachDrawing.Skia;
using var context = new SkiaRenderContext();
// Inside your view's paint handler, with the SKCanvas it gives you:
using var canvas = SkiaCanvas.FromCanvas(context, skCanvas, new Rect(0, 0, 400, 300));
using var brush = canvas.GetSolidBrush(PaintColor.FromArgb(255, 220, 90, 40));
canvas.DrawRectangle(brush, 20, 20, 360, 260);
The SKCanvas is only borrowed: disposing the SkiaCanvas restores its matrix and clip and leaves it usable. See the guide for the mapping from each Canvas call to Skia, the text engines (the shared PeachDrawing.Text engine by default, which shapes text itself - OpenType substitution and positioning, Arabic and Indic scripts, bidi - or Skia's own fonts with a shaper you can supply), the image codecs (PeachImage by default, or Skia's own), links, and the lifecycle of everything native.
The application referencing this package chooses the SkiaSharp native binaries (SkiaSharp.NativeAssets.*) for the platforms it ships to.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
-
net10.0
- PeachDrawing (>= 0.9.26)
- PeachDrawing.Core (>= 0.9.26)
- PeachImage (>= 0.7.3)
- SkiaSharp (>= 3.119.0)
- SkiaSharp.NativeAssets.macOS (>= 3.119.0)
- SkiaSharp.NativeAssets.Win32 (>= 3.119.0)
-
net11.0
- PeachDrawing (>= 0.9.26)
- PeachDrawing.Core (>= 0.9.26)
- PeachImage (>= 0.7.3)
- SkiaSharp (>= 3.119.0)
- SkiaSharp.NativeAssets.macOS (>= 3.119.0)
- SkiaSharp.NativeAssets.Win32 (>= 3.119.0)
-
net8.0
- PeachDrawing (>= 0.9.26)
- PeachDrawing.Core (>= 0.9.26)
- PeachImage (>= 0.7.3)
- SkiaSharp (>= 3.119.0)
- SkiaSharp.NativeAssets.macOS (>= 3.119.0)
- SkiaSharp.NativeAssets.Win32 (>= 3.119.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on PeachDrawing.Skia:
| Package | Downloads |
|---|---|
|
PeachBrackets.Android
A .NET for Android view that shows an HTML document laid out by PeachBrackets: touch scrolling, fling and pinch zoom, links, text selection and copy, and the CSS cursor, hover and touch-action behaviour the document asks for. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.9.26 | 37 | 11/6/2026 |
| 0.9.26-preview1 | 45 | 11/3/2026 |