set function as single funtion to set properties and calling redraw after setting
changes in color class should turn redraw of linked object class