We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi people,
Not sure if I'm using setFill() correctly but I get the error "Array Index out of bounds: 6" when I use it this way:
shape1.setFill(color(255,0,0,226));
I'd appreciate any tips you may have.
Thanks!
hm. nothing to do with this line. cam you post complete code?
or if it is this line: try without ,226
It is this line, it highlights it. In the rest of the code, I add vertices between shape1.beginShape() and shape1.endShape(). Tried it without 226, still same error.
. Tried it without 226, still same error.
??
in which line????
post entire code
Sorry for the long delay. I sort of gave this problem a break for now
Answers
hm. nothing to do with this line. cam you post complete code?
or if it is this line: try without ,226
It is this line, it highlights it. In the rest of the code, I add vertices between shape1.beginShape() and shape1.endShape(). Tried it without 226, still same error.
. Tried it without 226, still same error.
??
in which line????
post entire code
Sorry for the long delay. I sort of gave this problem a break for now