DrawingContext.

DrawImage(IImage, Rect) Method

Summary

Draws an image.
Namespace
Avalonia.Media
Containing Type
DrawingContext

Syntax

public void DrawImage(IImage source, Rect rect)

Parameters

Name Type Description
source IImage The image.
rect Rect The rect in the output to draw to.

Return Value

Type Description
void