Share via


SkiaCanvas.FillArc Method

Definition

Fills an arc within the specified rectangle from the start angle to the end angle.

public:
 override void FillArc(float x, float y, float width, float height, float startAngle, float endAngle, bool clockwise);
public override void FillArc(float x, float y, float width, float height, float startAngle, float endAngle, bool clockwise);
override this.FillArc : single * single * single * single * single * single * bool -> unit
Public Overrides Sub FillArc (x As Single, y As Single, width As Single, height As Single, startAngle As Single, endAngle As Single, clockwise As Boolean)

Parameters

x
Single

The x-coordinate of the upper-left corner of the rectangle that contains the arc.

y
Single

The y-coordinate of the upper-left corner of the rectangle that contains the arc.

width
Single

The width of the rectangle that contains the arc.

height
Single

The height of the rectangle that contains the arc.

startAngle
Single

The starting angle in degrees.

endAngle
Single

The ending angle in degrees.

clockwise
Boolean

A value indicating whether the arc is drawn clockwise or counterclockwise.

Applies to