CanvasExtensions.DrawArc Method

Definition

Overloads

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.

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.

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

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.

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