This is just a set of simple demonstration apps, each of which show how to do a few tasks using SkiaSharp:
- Add the
<SKCanvasView>
(for Xamarin.Forms) to a page - Attach a handler to the
PaintSurface
event - Clear the canvas
- Create a
SKPaint
instance - Draw a simple circle
- Draw a
SKPath
- Draw text
This is a Xamarin.Forms sample app. It draws the image onto a Xamarin.Forms
SKCanvasView
with a XAML UI.
This is a .NET console sample app. It draws the image in memory and then
saves the file to output.png
.
This is a set of Xamarin.Android, Xamarin.iOS and UWP sample apps.
They each draw the image onto a platform-specific view (SKCanvasView
for iOS
and Android or SKXamlCanvas
for UWP).
Each platform uses their specific UI designers (AXML for Android, storyboards for iOS and XAML for UWP).