Adds scaling

Allows for scaling, and re-sizing to fit a size. Optionally takes 'borderPadding' into consideration, so if your line thickness is 2, it doesn't go 1 pixel outside of its intended size.