Summary
Creates a Bitmap scaled to a specified size from the current bitmap.
- Namespace
- Avalonia
.Media .Imaging - Containing Type
- Bitmap
Syntax
public Bitmap CreateScaledBitmap(PixelSize destinationSize, BitmapInterpolationMode interpolationMode = HighQuality)
Parameters
Name | Type | Description |
---|---|---|
destinationSize | PixelSize | The destination size. |
interpolationMode | Bitmap |
The BitmapInterpolationMode to use should any scaling be required. |