CanvasExtensions.DrawArc Method
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.
DrawArc(ICanvas, Rect, Single, Single, Boolean, Boolean) |
Draws the arc. This is a helper method to draw an arc when you have a rectangle already defined for the ellipse bounds. |
DrawArc(ICanvas, RectF, Single, Single, Boolean, Boolean) |
Draws the arc. This is a helper method to draw an arc when you have a rectangle already defined for the ellipse bounds. |
- Source:
- CanvasExtensions.cs
- Source:
- CanvasExtensions.cs
Draws the arc. This is a helper method to draw an arc when you have a rectangle already defined for the ellipse bounds.
public:
[System::Runtime::CompilerServices::Extension]
static void DrawArc(Microsoft::Maui::Graphics::ICanvas ^ canvas, Microsoft::Maui::Graphics::Rect bounds, float startAngle, float endAngle, bool clockwise, bool closed);
public static void DrawArc (this Microsoft.Maui.Graphics.ICanvas canvas, Microsoft.Maui.Graphics.Rect bounds, float startAngle, float endAngle, bool clockwise, bool closed);
static member DrawArc : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.Rect * single * single * bool * bool -> unit
<Extension()>
Public Sub DrawArc (canvas As ICanvas, bounds As Rect, startAngle As Single, endAngle As Single, clockwise As Boolean, closed As Boolean)
Parameters
- canvas
- ICanvas
canvas
- bounds
- Rect
The ellipse bounds.
- startAngle
- Single
The start angle
- endAngle
- Single
The end angle
- clockwise
- Boolean
The direction to draw the arc
- closed
- Boolean
If the arc is closed or not
Applies to
.NET MAUI 9 and .NET MAUI 8
Product | Versions |
---|---|
.NET MAUI | 8, 9 |
- Source:
- CanvasExtensions.cs
- Source:
- CanvasExtensions.cs
Draws the arc. This is a helper method to draw an arc when you have a rectangle already defined for the ellipse bounds.
public:
[System::Runtime::CompilerServices::Extension]
static void DrawArc(Microsoft::Maui::Graphics::ICanvas ^ canvas, Microsoft::Maui::Graphics::RectF bounds, float startAngle, float endAngle, bool clockwise, bool closed);
public static void DrawArc (this Microsoft.Maui.Graphics.ICanvas canvas, Microsoft.Maui.Graphics.RectF bounds, float startAngle, float endAngle, bool clockwise, bool closed);
static member DrawArc : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.RectF * single * single * bool * bool -> unit
<Extension()>
Public Sub DrawArc (canvas As ICanvas, bounds As RectF, startAngle As Single, endAngle As Single, clockwise As Boolean, closed As Boolean)
Parameters
- canvas
- ICanvas
canvas
- bounds
- RectF
The ellipse bounds.
- startAngle
- Single
The start angle
- endAngle
- Single
The end angle
- clockwise
- Boolean
The direction to draw the arc
- closed
- Boolean
If the arc is closed or not
Applies to
.NET MAUI 9 and .NET MAUI 8
Product | Versions |
---|---|
.NET MAUI | 8, 9 |
.NET MAUI feedback
.NET MAUI is an open source project. Select a link to provide feedback: