add accessors to Rect attributes
Merge pull request #1 from fumin/master

Add accessors to Rect attributes