I desperately trying to draw circular arc / hallow sector in pyglet. E.g from this post where ArcType.ROUND is shown https://github.com/pyglet/pyglet/issues/349
This gives me a filled sector:
Sector(x=200, y=200, radius=200, segments=200, angle=22.5, start_angle=0)
This gives me only the line/circular arc - without the lines of the size r to the center:
Arc(px, py, radius, 50, tau, 0)
PS: It comes to my attention that pip install pyglet=2.0.10 with python 3.10 give me a "broken" package on my windows 10 machine. The Arc could not be drawn at all. Installing pyglet from source solved this issue.

You can define your own function to draw the arc and two lines from its endpoints to the centre. If your trigonometry is a little rusty, the implementation is in the linked issue. The generic formulae are:
Then you need to define your own
draw_hollow_sectorfunction and it'll look something like this:It includes a filled sector so that you can see the hollow sector outlines it correctly.
Here's the full code listing, note that it has been autoformatted with black.