Share via


IDrawable.Draw(ICanvas, RectF) Method

Definition

Draws the content onto the specified canvas within the given rectangle.

public:
 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
Public Sub Draw (canvas As ICanvas, dirtyRect As RectF)

Parameters

canvas
ICanvas

The canvas to draw onto.

dirtyRect
RectF

The rectangle in which to draw.

Applies to