Skip to content

SkiaBitmap(SKBitmap) constructor

Defined in

Type: SkiaBitmap Namespace: Splat.SkiaSharp Assembly: Splat.SkiaSharp.dll

Applies to

net10.0, net9.0, net8.0

Overloads

  1. public SkiaBitmap(SKBitmap bitmap)

  2. public SkiaBitmap(SKBitmap bitmap, SKEncodedOrigin encodedOrigin)

1. Overload

public SkiaBitmap(SKBitmap bitmap)

View source

Summary: Initializes a new instance of the SkiaBitmap class.

Parameters

NameTypeDescription
bitmapSKBitmapThe bitmap to take ownership of.

2. Overload

public SkiaBitmap(SKBitmap bitmap, SKEncodedOrigin encodedOrigin)

View source

Summary: Initializes a new instance of the SkiaBitmap class.

Parameters

NameTypeDescription
bitmapSKBitmapThe bitmap to take ownership of, already in its upright orientation.
encodedOriginSKEncodedOriginThe orientation the source image recorded.