DrawingContextDrawImage(IImage, Rect, Rect) Method

Draws an image.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public virtual void DrawImage(
	IImage source,
	Rect sourceRect,
	Rect destRect
)

Parameters

source  IImage
The image.
sourceRect  Rect
The rect in the image to draw.
destRect  Rect
The rect in the output to draw to.

See Also