Skip to main content

DrawBitmap(Bitmap, Rect, Rect) Method

Draws an image.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public void DrawBitmap(
Bitmap source,
Rect sourceRect,
Rect destRect
)

Parameters

  Bitmap
The bitmap.
  Rect
The rect in the image to draw.
  Rect
The rect in the output to draw to.

See Also

Reference

ImmediateDrawingContext Class
DrawBitmap Overload
Avalonia.Media Namespace