CanvasExtensions.FillRectangle 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| FillRectangle(ICanvas, Rect) | |
| FillRectangle(ICanvas, RectF) |
FillRectangle(ICanvas, Rect)
public:
[System::Runtime::CompilerServices::Extension]
static void FillRectangle(Microsoft::Maui::Graphics::ICanvas ^ target, Microsoft::Maui::Graphics::Rect rect);
public static void FillRectangle (this Microsoft.Maui.Graphics.ICanvas target, Microsoft.Maui.Graphics.Rect rect);
static member FillRectangle : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.Rect -> unit
<Extension()>
Public Sub FillRectangle (target As ICanvas, rect As Rect)
參數
- target
- ICanvas
- rect
- Rect
適用於
FillRectangle(ICanvas, RectF)
public:
[System::Runtime::CompilerServices::Extension]
static void FillRectangle(Microsoft::Maui::Graphics::ICanvas ^ target, Microsoft::Maui::Graphics::RectF rect);
public static void FillRectangle (this Microsoft.Maui.Graphics.ICanvas target, Microsoft.Maui.Graphics.RectF rect);
static member FillRectangle : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.RectF -> unit
<Extension()>
Public Sub FillRectangle (target As ICanvas, rect As RectF)
參數
- target
- ICanvas
- rect
- RectF