SKBitmap.Copy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.