Rectangle measurement and properties