共用方式為


ICanvas.DrawArc 方法

定義

將弧線繪製到畫布上。

public:
 void DrawArc(float x, float y, float width, float height, float startAngle, float endAngle, bool clockwise, bool closed);
public void DrawArc (float x, float y, float width, float height, float startAngle, float endAngle, bool clockwise, bool closed);
abstract member DrawArc : single * single * single * single * single * single * bool * bool -> unit
Public Sub DrawArc (x As Single, y As Single, width As Single, height As Single, startAngle As Single, endAngle As Single, clockwise As Boolean, closed As Boolean)

參數

x
Single

開始 x 座標。

y
Single

開始 y 座標。

width
Single

弧線的寬度。

height
Single

弧線的高度。

startAngle
Single

從 X 軸到弧線起點的角度。

endAngle
Single

從 X 軸到弧線終點的角度。

clockwise
Boolean

true 表示以順時針方向繪製弧線; false 以反時針繪製弧線。

closed
Boolean

true 指定弧線的終點是否要連接到起點; false 否則。

適用於