Add fillRect method with rotation