IDrawingContextImplDrawBitmap(IBitmapImpl, Double, Rect, Rect) Method
Draws a bitmap image.
Namespace: Avalonia.PlatformAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
void DrawBitmap(
IBitmapImpl source,
double opacity,
Rect sourceRect,
Rect destRect
)
Sub DrawBitmap (
source As IBitmapImpl,
opacity As Double,
sourceRect As Rect,
destRect As Rect
)
abstract DrawBitmap :
source : IBitmapImpl *
opacity : float *
sourceRect : Rect *
destRect : Rect -> unit
Parameters
- source IBitmapImpl
- 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.