Version 1.56.1 (beta)
Pre-releaseSkiaSharp
A cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
- New & Improved Platforms
- Added Types
- Added support for the
SKSvgCanvas
(preview) - Added support for
SKMask
- Added support for
SK3dView
(creating 3DSKMatrix
transformations)
- Added support for the
- Other API Additions
- PDF
SKDocument
now supports metadata and annotations SKBitmap
can be created from aSKMask
- Changed
SKStrokeJoin.Mitter
toSKStrokeJoin.Miter
SKImageInfo.PlatformColorType
now correctly obtains the platform color type
- PDF
NuGet: https://www.nuget.org/packages/SkiaSharp/1.56.1-beta
Code Diff: v1.56.0...v1.56.1-beta
SkiaSharp.Views
A set of pre-prepared UI views, panels and surfaces for drawing. One of these views can be added to the view hierachy, and then be used for drawing without the need for complex setup. There is also a set of extension methods for converting to/from SkiaSharp and native types.
NuGet: https://www.nuget.org/packages/SkiaSharp.Views/1.56.1-beta
SkiaSharp.Views.Forms
A set of pre-prepared views for Xamarin.Forms, for fully cross-platform drawing code. There are views for both CPU and GPU backends, along with extension methods for converting to/from SkiaSharp and Xamarin.Forms types. Currently available for iOS, Android and UWP.
NuGet: https://www.nuget.org/packages/SkiaSharp.Views.Forms/1.56.1-beta
SkiaSharp.Svg (preview)
Support for SVG has been a hot topic, but Google has stated that this is not going to be a feature coming soon (or at all). However, we do want to support SVG. To this end, we are trying out a lightweight SVG parser.
NuGet: https://www.nuget.org/packages/SkiaSharp.Svg/1.56.1-beta
Samples
A few new samples were added to demonstrate some new features.
All the samples that have been built and tested for this version of SkiaSharp can be downloaded in the "Downloads" links below.