Arc
Introduction
Arcs are curved lines with variable thickness. Arcs can also be used to draw wedges if the line thickness is large enough.

Arc dimensions
Arcs draw inside their bounds, with the edge of the arc touching the bounding rectangle. On Skia, the thickness of the arc remains consistent regardless of the bounds width and height. For MonoGame, KNI, and FNA, see Arcs in Non-Square Bounds.
The following shows an arc with a Sweep Angle of 270 degrees, being resized in the Editor tab.

Arc and Circle
An Arc with a Sweep Angle of 360 draws the same pixels as a Circle with the same bounds when the Arc's Thickness equals the Circle's Stroke Width.
Arcs in Non-Square Bounds
In non-square bounds, an Arc on MonoGame, KNI, and FNA is stretched to fill the bounds, so it is thicker along the longer side. An Arc 60 wide and 40 tall with a Thickness of 8 is about 12 thick at the left and right. The same stretch makes a radial gradient elliptical.

Last updated
Was this helpful?

