DrawingContextDrawImage(IImage, Rect, Rect) Method
Draws an image.
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public virtual void DrawImage(
IImage source,
Rect sourceRect,
Rect destRect
)
Public Overridable Sub DrawImage (
source As IImage,
sourceRect As Rect,
destRect As Rect
)
abstract DrawImage :
source : IImage *
sourceRect : Rect *
destRect : Rect -> unit
override DrawImage :
source : IImage *
sourceRect : Rect *
destRect : Rect -> unit
Parameters
- source IImage
- The image.
- sourceRect Rect
- The rect in the image to draw.
- destRect Rect
- The rect in the output to draw to.