IDrawingContextImplDrawBitmap(IBitmapImpl, Double, Rect, Rect) Method

Draws a bitmap image.

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
void DrawBitmap(
	IBitmapImpl source,
	double opacity,
	Rect sourceRect,
	Rect destRect
)

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.

See Also