Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Arc

Introduction

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

Three arc instances - a default arc, a rounded arc with gradient graphics, and an arc creating a wedge

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.

On Skia, arc thickness remains constant when an arc's dimensions change

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.

On MonoGame, KNI, and FNA this match is available in November 2026, or now if building Gum from source. Before then, the Arc's stroke was about one pixel wider than the Circle's.

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.

Arc that is 60 wide and 40 tall with a Thickness of 8, a Start Angle of 90 and a Sweep Angle of 270

The stretched Arc on MonoGame, KNI, and FNA is available in November 2026, or now if building Gum from source.

Last updated

Was this helpful?