Table of Contents

Version 1.55.0

API cleanup · Released November 10, 2016 · NuGet · GitHub Release

API changes · SkiaSharp API diff

Highlights

SkiaSharp 1.55.0 trims optional parameters off public APIs and makes SKCodecOptions.Subset nullable. Several methods on SKCanvas, GRContext and SKPath drop their default parameter values so overload resolution is unambiguous. SKCodecOptions.Subset becomes a nullable SKRectI, and a handful of legacy helpers on SKCodec, SKDocument and SKMatrix are removed.

Breaking Changes

  • Default parameter values removed from public APIs — Methods such as SKCanvas.ClipRect/ClipPath/DrawColor, GRContext.Flush and several SKPath overloads no longer supply default argument values — callers must pass the argument explicitly or use the matching overload. This is an ABI change; recompile against the new signatures.
  • SKCodecOptions.Subset is now nullable — SKCodecOptions.Subset changed from SKRectI to SKRectI? and HasSubset lost its setter. Assign null (or leave unset) to opt out of subsetting.
  • Legacy methods removed — SKCodec.GetValidSubset and SKDocument.Close were removed; use the replacement APIs on those types.

API Surface

  • Optional parameters replaced with explicit overloads — Trims defaults off SKCanvas, GRContext and SKPath methods so the ABI is stable across future changes and overload resolution is deterministic.
  • SKCodecOptions.Subset is nullable — Subset now surfaces as SKRectI? and pairs with a read-only HasSubset, better reflecting that a subset is optional.