SkiaImage.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 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.