Version 1.49.4
tvOS support and PDF creation · Preview only · NuGet · GitHub Release
Highlights
This beta adds Apple tvOS as a supported platform and introduces PDF document creation via the new SKDocument API, enabling developers to generate multi-page PDF files using familiar SkiaSharp drawing methods.
Breaking Changes
None in this release.
New Features
Platform
- Apple tvOS support — SkiaSharp can now be used in tvOS applications.
Images & Documents
- PDF creation — New
SKDocumentAPI enables creating multi-page PDF files using standardSKCanvasdrawing operations.
using (var stream = new SKFileWStream("document.pdf"))
using (var document = SKDocument.CreatePdf(stream))
{
using (var canvas = document.BeginPage(width, height))
using (var paint = new SKPaint())
{
canvas.DrawText("...PDF...", 10f, 100f, paint);
document.EndPage();
}
document.Close();
}
Platform Support
| Platform | What's New |
|---|---|
| 🍎 Apple | tvOS support added |