Open superseed77 opened 10 years ago
I guess that happens only when you compile in Processing IDE because Processing's preprocessor seems to treat "color" as a reserved word. Using eclipse or just simply compiling with javac would not have this issue. Although I didn't expect people touches those internal methods and fields from Processing, I'll consider about changing the field name "color" to something else (likely to be "clr"), because now I see people touching those area like you do. I'll let you know when I make the decision.
You're right: the pb arise in processing ide. Anyway I found a workaround Thanks a lot
When for some reason I extend IGraphicObject I can access all properties of IGraphicObject from my extended class (eg. visible, parent)... except one : color.
This property collide in some way with processing. So so it will not compile if i refer to this.color.
Is it possible for you to rename it to icolor or something like that Thanks a lot