I loaded a costum shape in Processing and want to fill it and have it have a stroke dynamically eventually.
But I'm already stuck on hardcoded values. This is what I have:
PShape img = loadShape("thisimage.svg");
img.disableStyle();
img.setStrokeWeight(14);
img.setStroke(color(#ffa500));
img.setFill(color(#ffffff));
The disableStyle is to remove the original colour of the image. This works fine, I can setFill with any colour. But I can't seem to get it to have a stroke. I don't get any errors or squiggly lines, but no stroke either. What am I missing?