@cuinjune wrote:
Hi, I would like to draw a donut shape that can toggle between filled and unfilled.
I could make the filled donut shape using ofPath but if I unfill the shape, and set the stroke width, a line appears and I would like to remove this line if possible.
Here's my code and the resulting image below.
ofPath circle; circle.setStrokeWidth(2); circle.setFilled(false); circle.circle(ofGetWidth()/2, ofGetHeight()/2, 100); circle.circle(ofGetWidth()/2, ofGetHeight()/2, 120);
circle.draw();
Thank you in advance.
Posts: 1
Participants: 1