Rectangle utility class.