Share via


SkiaImage.Draw(ICanvas, RectF) Method

Definition

Draws this image on the specified canvas within the specified rectangle.

public:
 virtual void Draw(Microsoft::Maui::Graphics::ICanvas ^ canvas, Microsoft::Maui::Graphics::RectF dirtyRect);
public void Draw(Microsoft.Maui.Graphics.ICanvas canvas, Microsoft.Maui.Graphics.RectF dirtyRect);
abstract member Draw : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.RectF -> unit
override this.Draw : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.RectF -> unit
Public Sub Draw (canvas As ICanvas, dirtyRect As RectF)

Parameters

canvas
ICanvas

The canvas to draw on.

dirtyRect
RectF

The rectangle in which to draw the image.

Implements

Applies to