SKBitmap.CopyTo Method

Definition

Overloads

CopyTo(SKBitmap)

Copies the contents of the bitmap into the specified bitmap.

CopyTo(SKBitmap, SKColorType)

Copies the contents of the bitmap into the specified bitmap.

CopyTo(SKBitmap)

Copies the contents of the bitmap into the specified bitmap.

public bool CopyTo (SkiaSharp.SKBitmap destination);

Parameters

destination
SKBitmap

The bitmap to received the copied contents.

Returns

Returns true if the copy was made.

CopyTo(SKBitmap, SKColorType)

Copies the contents of the bitmap into the specified bitmap.

public bool CopyTo (SkiaSharp.SKBitmap destination, SkiaSharp.SKColorType colorType);

Parameters

destination
SKBitmap

The bitmap to received the copied contents.

colorType
SKColorType

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

Returns

Returns true if the copy was made.

Applies to