Skip to content
A set of simple demonstration apps, each of which show how to do a few tasks using SkiaSharp.
Branch: master
Clone or download
Latest commit 002a9e4 May 9, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SkiaSharpConsoleDemo Updated the packages May 9, 2018
SkiaSharpDemo Updated the packages May 9, 2018
SkiaSharpNativeDemo Updated the packages May 9, 2018
.gitignore
LICENSE Initial commit Feb 5, 2017
README.md
SkiaSharpConsoleDemo.sln
SkiaSharpDemo.sln Update the NuGet packages Dec 18, 2017
SkiaSharpNativeDemo.sln Added WPF native sample Jan 20, 2018

README.md

SkiaSharp Demo App

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

Final Drawing

SkiaSharpDemo

This is a Xamarin.Forms sample app. It draws the image onto a Xamarin.Forms SKCanvasView with a XAML UI.

SkiaSharpConsoleDemo

This is a .NET console sample app. It draws the image in memory and then saves the file to output.png.

SkiaSharpNativeDemo

This is a set of Xamarin.Android, Xamarin.iOS and UWP sample apps.

They each draw the image onto a platform-speciific 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).

You can’t perform that action at this time.