modify Line method  to use the color and thickness