CanvasExtensions.DrawRectangle Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
DrawRectangle(ICanvas, Rect) | |
DrawRectangle(ICanvas, RectF) |
DrawRectangle(ICanvas, Rect)
public:
[System::Runtime::CompilerServices::Extension]
static void DrawRectangle(Microsoft::Maui::Graphics::ICanvas ^ target, Microsoft::Maui::Graphics::Rect rect);
public static void DrawRectangle (this Microsoft.Maui.Graphics.ICanvas target, Microsoft.Maui.Graphics.Rect rect);
static member DrawRectangle : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.Rect -> unit
<Extension()>
Public Sub DrawRectangle (target As ICanvas, rect As Rect)
Paramètres
- target
- ICanvas
- rect
- Rect
S’applique à
DrawRectangle(ICanvas, RectF)
public:
[System::Runtime::CompilerServices::Extension]
static void DrawRectangle(Microsoft::Maui::Graphics::ICanvas ^ target, Microsoft::Maui::Graphics::RectF rect);
public static void DrawRectangle (this Microsoft.Maui.Graphics.ICanvas target, Microsoft.Maui.Graphics.RectF rect);
static member DrawRectangle : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.RectF -> unit
<Extension()>
Public Sub DrawRectangle (target As ICanvas, rect As RectF)
Paramètres
- target
- ICanvas
- rect
- RectF