IDrawingContextImplDrawBitmap(IBitmapImpl, IBrush, 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,
	IBrush opacityMask,
	Rect opacityMaskRect,
	Rect destRect
)

Parameters

source  IBitmapImpl
The bitmap image.
opacityMask  IBrush
The opacity mask to draw with.
opacityMaskRect  Rect
The destination rect for the opacity mask.
destRect  Rect
The rect in the output to draw to.

See Also