Summary
Draws a bitmap image.
- Namespace
- Avalonia
.Platform - Containing Type
- IDrawingContextImpl
Syntax
void DrawBitmap(IRef<IBitmapImpl> source, double opacity, Rect sourceRect, Rect destRect, BitmapInterpolationMode bitmapInterpolationMode = Default)
Parameters
Name | Type | Description |
---|---|---|
source | IRef |
The bitmap image. |
opacity | double | The opacity to draw with. |
sourceRect | Rect | The rect in the image to draw. |
destRect | Rect | The rect in the output to draw to. |
bitmapInterpolationMode | Bitmap |
The bitmap interpolation mode. |
Return Value
Type | Description |
---|---|
void |