Version 1.56.1
SkiaSharp
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
- Other API Additions
- ★ Many new members for
SKPath
, such asAddPoly
andSegmentMasks
- ★ Many new members for
SKBitmap
, such asExtractAlpha
andExtractSubset
- ★ Improved support for Unicode, UTF-32, emojis (#232)
- ★ Some string helpers in
StringUtilities
- ★ Class library builds (ie: tests) for .NET 4.5 will now copy the native assembly to the output (#44, #190)
- ★ Support for high quality blurring with
SKMaskFilter
- ★
SKCodec
now supports scanline decoding - PDF
SKDocument
now supports metadata and annotations SKBitmap
can be created from aSKMask
- Changed
SKStrokeJoin.Mitter
toSKStrokeJoin.Miter
(#227) SKImageInfo.PlatformColorType
now correctly obtains the platform color type
- ★ Many new members for
NuGet: https://www.nuget.org/packages/SkiaSharp/1.56.1
Code Diff: v1.56.0...v1.56.1
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
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.
- ★ The renderers are now public (#218)
- They can be extended by apps/libraries
- Demo: https://github.com/mattleibow/SkiaSharpFormsRendererDemo
NuGet: https://www.nuget.org/packages/SkiaSharp.Views.Forms/1.56.1
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.
This goes in part with SKSvgCanvas
, which is used to create SVG files. Although both are still "preview" areas because not all the features of SVG have been implemented yet, they are both still very usable for most cases.
- ★ Fixes the handling of the viewbox (#230)
NuGet: https://www.nuget.org/packages/SkiaSharp.Svg/1.56.1
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.