Edit

Share via


SKCanvas.DrawArc(SKRect, Single, Single, Boolean, SKPaint) Method

Definition

Draws an arc on the canvas.

public void DrawArc(SkiaSharp.SKRect oval, float startAngle, float sweepAngle, bool useCenter, SkiaSharp.SKPaint paint);

Parameters

oval
SKRect

The bounding rectangle of the oval containing the arc.

startAngle
Single

The starting angle (in degrees) where the arc begins.

sweepAngle
Single

The sweep angle (in degrees) measured clockwise.

useCenter
Boolean

Whether to include the center of the oval in the drawing.

paint
SKPaint

The paint used to draw the arc.

Applies to