IDrawingContextImpl.

DrawBitmap(IRef<IBitmapImpl>, IBrush, Rect, Rect) Method

Summary

Draws a bitmap image.
Namespace
Avalonia.Platform
Containing Type
IDrawingContextImpl

Syntax

void DrawBitmap(IRef<IBitmapImpl> source, IBrush opacityMask, Rect opacityMaskRect, Rect destRect)

Parameters

Name Type Description
source IRef<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.

Return Value

Type Description
void