adding stroke colour to rect