Method GraphicsCircle
GraphicsCircle(SKCanvas, Pen, Brush, PointD, float)
Draws a circle on the specified SKCanvas using the provided pen, brush, center point, and radius.
public static void GraphicsCircle(SKCanvas canvas, Pen pen, Brush brush, PointD center, float radius)
Parameters
canvasSKCanvasThe SKCanvas on which the circle will be drawn. Cannot be
null.penPenThe Pen that defines the stroke style of the circle. Can be
nullif no stroke is desired.brushBrushThe Brush that defines the fill style of the circle. Can be
nullif no fill is desired.centerPointDThe PointD representing the center of the circle.
radiusfloatThe radius of the circle, specified as a float. Must be a non-negative value.
Remarks
If both pen and brush are null, no
circle will be drawn. The method uses SkiaSharp to render the circle,
and the appearance of the circle
depends on the styles defined by the pen
and brush.