def set_text_color(self, r,g=-<NUM_LIT:1>,b=-<NUM_LIT:1>):
if((r==<NUM_LIT:0> and g==<NUM_LIT:0> and b==<NUM_LIT:0>) or g==-<NUM_LIT:1>):<EOL><INDENT>self.text_color=sprintf('<STR_LIT>',r/<NUM_LIT>)<EOL><DEDENT>else:<EOL><INDENT>self.text_color=sprintf('<STR_LIT>',r/<NUM_LIT>,g/<NUM_LIT>,b/<NUM_LIT>)<EOL><DEDENT>self.color_flag=(self.fill_color!=self.text_color)<EOL>
Set color for text