Heyo! Working on a custom Pie Chart at the moment. I was wondering how I might be able to change the center position of an Arc in JFX.. Currently I have a pie chart where the slices have borders. But the problem is that they begin to create weird artifacts.. You can see in the photo that I believe these borders are causing a LOT of visual artifacts.. My idea is that if I can basically change the "side length" of the arcs (change the center positions) based on their location and the thickness of the border, I can hopefully remove the artifacts.. I think this will work. I might get a big black circle in the center if I add too many slices, but at least it'll look better than this. The other photo is without the borders, which is what I'm basing all of this on.
TLDR; I need to figure out what the calculation would be to "shorten the side lengths" of the Arcs.