Compartilhar via


CanvasExtensions.FillArc Method

Definition

Overloads

FillArc(ICanvas, Single, Single, Single, Single, Single, Single, Paint, Boolean)

Fills the arc with the specified paint. This is a helper method for when filling an arc with a gradient, so that you don't need to worry about calculating the gradient handle locations based on the rectangle size and location.

FillArc(ICanvas, RectF, Single, Single, Boolean)

Fills the arc. This is a helper method to fill an arc when you have a rectangle already defined for the ellipse bounds.

FillArc(ICanvas, Rect, Single, Single, Boolean)

Fills the arc. This is a helper method to fill an arc when you have a rectangle already defined for the ellipse bounds.

FillArc(ICanvas, Single, Single, Single, Single, Single, Single, Paint, Boolean)

Source:
CanvasExtensions.cs
Source:
CanvasExtensions.cs

Fills the arc with the specified paint. This is a helper method for when filling an arc with a gradient, so that you don't need to worry about calculating the gradient handle locations based on the rectangle size and location.

public:
[System::Runtime::CompilerServices::Extension]
 static void FillArc(Microsoft::Maui::Graphics::ICanvas ^ canvas, float x, float y, float width, float height, float startAngle, float endAngle, Microsoft::Maui::Graphics::Paint ^ paint, bool clockwise);
public static void FillArc (this Microsoft.Maui.Graphics.ICanvas canvas, float x, float y, float width, float height, float startAngle, float endAngle, Microsoft.Maui.Graphics.Paint paint, bool clockwise);
static member FillArc : Microsoft.Maui.Graphics.ICanvas * single * single * single * single * single * single * Microsoft.Maui.Graphics.Paint * bool -> unit
<Extension()>
Public Sub FillArc (canvas As ICanvas, x As Single, y As Single, width As Single, height As Single, startAngle As Single, endAngle As Single, paint As Paint, clockwise As Boolean)

Parameters

canvas
ICanvas

canvas

x
Single

The x coordinate.

y
Single

The y coordinate.

width
Single

The rectangle width.

height
Single

The rectangle height

startAngle
Single

The start angle

endAngle
Single

The end angle

paint
Paint

The paint

clockwise
Boolean

The direction to draw the arc

Applies to

FillArc(ICanvas, RectF, Single, Single, Boolean)

Source:
CanvasExtensions.cs
Source:
CanvasExtensions.cs

Fills the arc. This is a helper method to fill an arc when you have a rectangle already defined for the ellipse bounds.

public:
[System::Runtime::CompilerServices::Extension]
 static void FillArc(Microsoft::Maui::Graphics::ICanvas ^ canvas, Microsoft::Maui::Graphics::RectF bounds, float startAngle, float endAngle, bool clockwise);
public static void FillArc (this Microsoft.Maui.Graphics.ICanvas canvas, Microsoft.Maui.Graphics.RectF bounds, float startAngle, float endAngle, bool clockwise);
static member FillArc : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.RectF * single * single * bool -> unit
<Extension()>
Public Sub FillArc (canvas As ICanvas, bounds As RectF, startAngle As Single, endAngle As Single, clockwise 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

Applies to

FillArc(ICanvas, Rect, Single, Single, Boolean)

Source:
CanvasExtensions.cs
Source:
CanvasExtensions.cs

Fills the arc. This is a helper method to fill an arc when you have a rectangle already defined for the ellipse bounds.

public:
[System::Runtime::CompilerServices::Extension]
 static void FillArc(Microsoft::Maui::Graphics::ICanvas ^ canvas, Microsoft::Maui::Graphics::Rect bounds, float startAngle, float endAngle, bool clockwise);
public static void FillArc (this Microsoft.Maui.Graphics.ICanvas canvas, Microsoft.Maui.Graphics.Rect bounds, float startAngle, float endAngle, bool clockwise);
static member FillArc : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.Rect * single * single * bool -> unit
<Extension()>
Public Sub FillArc (canvas As ICanvas, bounds As Rect, startAngle As Single, endAngle As Single, clockwise 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

Applies to