add the scale factor the shape can center and scale automatically