documentation/docfx/releases/1.59.0/SkiaSharp/SkiaSharp.md
Assembly Version Changed: 1.59.0.0 vs 1.58.0.0
Added value:
None = 0,
Removed property:
public bool ClipDrawOpsToBounds { get; set; }
Added property:
public bool AvoidStencilBuffers { get; set; }
Added value:
None = 0,
Added constructor:
public SKBitmap (SKImageInfo info, SKColorTable ctable, SKBitmapAllocFlags flags);
Obsoleted methods:
[Obsolete ("Use SKPixmap.ReadPixels instead.")]
public bool CopyPixelsTo (IntPtr dst, int dstSize, int dstRowBytes, bool preserveDstPad);
Added method:
public void DrawVertices (SKVertices vertices, SKBlendMode mode, SKPaint paint);
Added property:
public SKAlphaType AlphaType { get; set; }
Added property:
public SKTransferFunctionBehavior PremulBehavior { get; set; }
Added property:
public bool IsSrgb { get; }
Obsoleted methods:
[Obsolete ("Use SKColorSpacePrimaries.ToXyzD50 instead.")]
public static SKMatrix44 ConvertPrimariesToXyzD50 (SKColorSpacePrimaries primaries);
[Obsolete ("Use SKColorSpacePrimaries.ToXyzD50(SKMatrix44) instead.")]
public static bool ConvertPrimariesToXyzD50 (SKColorSpacePrimaries primaries, SKMatrix44 toXyzD50);
Added value:
None = 0,
Added methods:
public SKMatrix44 ToXyzD50 ();
public bool ToXyzD50 (SKMatrix44 toXyzD50);
Added method:
public SKColorSpaceTransferFn Invert ();
Added value:
HasNone = 0,
Added methods:
public bool ReadPixels (SKPixmap pixmap);
public bool ReadPixels (SKImageInfo dstInfo, IntPtr dstPixels, int dstRowBytes);
public bool ReadPixels (SKPixmap pixmap, int srcX, int srcY);
public bool ReadPixels (SKImageInfo dstInfo, IntPtr dstPixels, int dstRowBytes, int srcX, int srcY);
Added value:
None = 0,
[Serializable]
[Flags]
public enum SKBitmapAllocFlags {
None = 0,
ZeroPixels = 1,
}
[Serializable]
public enum SKTransferFunctionBehavior {
Ignore = 1,
Respect = 0,
}
public class SKVertices : SkiaSharp.SKObject, System.IDisposable {
// methods
public static SKVertices CreateCopy (SKVertexMode vmode, SKPoint[] positions, SKColor[] colors);
public static SKVertices CreateCopy (SKVertexMode vmode, SKPoint[] positions, SKPoint[] texs, SKColor[] colors);
public static SKVertices CreateCopy (SKVertexMode vmode, SKPoint[] positions, SKPoint[] texs, SKColor[] colors, ushort[] indices);
protected override void Dispose (bool disposing);
}