Scales the width and height of this Rectangle by the given amounts.
The factor by which to scale the rectangle horizontally.
The amount by which to scale the rectangle vertically. If this is not specified, the rectangle will be scaled by the factor
The rectangle object with updated
height properties as calculated from the scaling factor(s).