IDrawable.Draw(ICanvas, RectF) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.