Added the properties and the methods for CGRect