Scales the shape uniformly by the given factor originating from centroid.
factor
T scale(num factor);