IDrawingContextImplDrawBitmap(IBitmapImpl, IBrush, Rect, Rect) Method
Draws a bitmap image.
Namespace: Avalonia.PlatformAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
void DrawBitmap(
IBitmapImpl source,
IBrush opacityMask,
Rect opacityMaskRect,
Rect destRect
)
Sub DrawBitmap (
source As IBitmapImpl,
opacityMask As IBrush,
opacityMaskRect As Rect,
destRect As Rect
)
abstract DrawBitmap :
source : IBitmapImpl *
opacityMask : IBrush *
opacityMaskRect : Rect *
destRect : Rect -> unit
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.