Closed payne911 closed 5 years ago
I did not realize you could use an arc
and place it right in the middle of the region that should be drawn. The lineWidth
argument is then used to expand in both directions (inward and outward) the fill.
As described in https://github.com/earlygrey/shapedrawer/issues/11, the "solution" mentioned above is actually "buggy" and so this remains a feature request.
There's no need to have two issues for this, the feature is there, it just needs some adjustements and can be managed in the other issue.
As it is, sectors will be completely filled, from their center, all the way up their radius. It would be very cool if one could input an "inner radius" which basically dictates how far from the center should the drawing begin from.
To have a bit more of a visualization in your head, think of a circle, with an empty hole right in its middle. Imagine all the doughnuts the LibGDX community could benefit from!!