Skip to content

A set of simple demonstration apps, each of which show how to do a few tasks using SkiaSharp.

License

Notifications You must be signed in to change notification settings

ycdaskin/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

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

About

A set of simple demonstration apps, each of which show how to do a few tasks using SkiaSharp.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%