So you want the call to setPen() to take a different argument each time? If that's the case, store your colors in an array and call setPen(colorArray[k],2). Or, if there are more curves than colors, call setPen(colorArray[k % numberOfColors],2).
So you want the call to setPen() to take a different argument each time? If that's the case, store your colors in an array and call setPen(colorArray[k],2). Or, if there are more curves than colors, call setPen(colorArray[k % numberOfColors],2).
21did21 (2nd July 2011)
thank for your help, i think i will use this solution
Bookmarks