SKCanvas.DrawArc(SKRect, Single, Single, Boolean, SKPaint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.