EDIT: RESOLVED (version issue - see below)
Hi all - running processing 2.0b3 and seem to be having issues calling the set methods. I keep getting errors that look like: "The method setStroke(int, int) in the type PShape is not applicable for the arguments (int)"
Hi all - running processing 2.0b3 and seem to be having issues calling the set methods. I keep getting errors that look like: "The method setStroke(int, int) in the type PShape is not applicable for the arguments (int)"
- PShape rectangle;
- void setup() {
- size(640,360,P2D);
- rectangle = createShape(RECT,-50,-25,100,50);
- rectangle.setStroke(color(255));
- rectangle.setStrokeWeight(4);
- rectangle.setFill(color(127));
- }