ImmediateDrawingContextDrawBitmap(Bitmap, Rect, Rect) Method
Draws an image.
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public void DrawBitmap(
Bitmap source,
Rect sourceRect,
Rect destRect
)
Public Sub DrawBitmap (
source As Bitmap,
sourceRect As Rect,
destRect As Rect
)
member DrawBitmap :
source : Bitmap *
sourceRect : Rect *
destRect : Rect -> unit
Parameters
- source Bitmap
- The bitmap.
- sourceRect Rect
- The rect in the image to draw.
- destRect Rect
- The rect in the output to draw to.