SKBitmap.Copy Method

Definition

Overloads

Copy()

Copies the contents of the bitmap and returns the copy.

Copy(SKColorType)

Copies the contents of the bitmap with the specified color type and returns the copy.

Copy()

Copies the contents of the bitmap and returns the copy.

public SkiaSharp.SKBitmap Copy ();

Returns

The copy of the bitmap, or null on error.

Applies to

Copy(SKColorType)

Copies the contents of the bitmap with the specified color type and returns the copy.

public SkiaSharp.SKBitmap Copy (SkiaSharp.SKColorType colorType);

Parameters

colorType
SKColorType

The color type to use for the copy of the bitmap.

Returns

The copy of the bitmap, or null on error.

Applies to