/** * Returns if the rectangle is valid. * * @since 2.0 * * @return boolean */ public function isValid() { return $this->rectangleSouthWest->isValid() && $this->rectangleNorthEast->isValid(); }