CanvasExtensions.FillRectangle 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.
Overloads
FillRectangle(ICanvas, Rect) |
Fills a rectangle with the current brush. |
FillRectangle(ICanvas, RectF) |
FillRectangle(ICanvas, Rect)
- Source:
- CanvasExtensions.cs
- Source:
- CanvasExtensions.cs
- Source:
- CanvasExtensions.cs
Fills a rectangle with the current brush.
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)
Parameters
- target
- ICanvas
The canvas to draw on.
- rect
- Rect
The rectangle to fill.
Applies to
FillRectangle(ICanvas, RectF)
- Source:
- CanvasExtensions.cs
- Source:
- CanvasExtensions.cs
- Source:
- CanvasExtensions.cs
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)
Parameters
- target
- ICanvas
- rect
- RectF