-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Description
I can't tell from the ofPath api if you can draw both fill and stroke simultaneously. Regular ofGrpahics calls do not support this ...
Also, what happens if you:
path.setFilled(false);
path.setStrokeWidth(0);
Is nothing drawn? If the api supports drawing both fill and outline, then it would make sense that setting the stroke width to 0 here would automatically set fill to true ... so at least something is drawn. Same conversely ...
Edit: In fact, having a stroke/fill approach does not match the ofGraphics api. Maybe it makes sense to just have setColor(), fill(), and nofill() so ofPath works the same way ...