Skip to content

nagyist/SkiaSharpDemo

 
 

Repository files navigation

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

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-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).

About

A simple SkiaSharp demonstration app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%