共用方式為


CanvasExtensions.FillArc 方法

定義

多載

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

使用指定的繪製填滿弧線。 這是使用漸層填滿弧形時的協助程式方法,因此您不需要擔心根據矩形大小和位置計算漸層控制碼位置。

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

填滿弧形。當您已針對橢圓形界限定義矩形時,這是填滿弧線的協助程式方法。

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

填滿弧形。當您已針對橢圓形界限定義矩形時,這是填滿弧線的協助程式方法。

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

使用指定的繪製填滿弧線。 這是使用漸層填滿弧形時的協助程式方法,因此您不需要擔心根據矩形大小和位置計算漸層控制碼位置。

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)

參數

canvas
ICanvas

畫布

x
Single

x 座標。

y
Single

y 座標。

width
Single

矩形寬度。

height
Single

矩形高度

startAngle
Single

開始角度

endAngle
Single

結束角度

paint
Paint

繪製

clockwise
Boolean

繪製弧形的方向

適用於

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

填滿弧形。當您已針對橢圓形界限定義矩形時,這是填滿弧線的協助程式方法。

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)

參數

canvas
ICanvas

畫布

bounds
RectF

省略號界限。

startAngle
Single

開始角度

endAngle
Single

結束角度

clockwise
Boolean

繪製弧形的方向

適用於

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

填滿弧形。當您已針對橢圓形界限定義矩形時,這是填滿弧線的協助程式方法。

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)

參數

canvas
ICanvas

畫布

bounds
Rect

省略號界限。

startAngle
Single

開始角度

endAngle
Single

結束角度

clockwise
Boolean

繪製弧形的方向

適用於