Rectangle, add setSize methods

For more flexibility
Merge pull request #401 from semtiko/patch-1

Rectangle, add setSize methods