I have been playing around with LibGDX
.
I cannot figure out how to draw an arc with a certain thickness on a 2D canvas
. This is what I got so far:
//draw the outline of the rectangle
shapeRenderer.begin(ShapeType.Line);
shapeRenderer.setColor(255/255.0f, 109/255.0f, 120/255.0f, 1f);
shapeRenderer.arc(0, 0, 30, 0, 270);
shapeRenderer.end();