다음을 통해 공유


CanvasExtensions.DrawRectangle 메서드

정의

오버로드

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)

매개 변수

target
ICanvas
rect
Rect

적용 대상

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)

매개 변수

target
ICanvas
rect
RectF

적용 대상