public function setCoordinate(\ArrayObject $coordinates)
    {
        $this->coordinates = $coordinates;
        $this->setNumber(count($coordinates));

        return $this;
    }
public function setCoordinate(\ArrayObject $coordinates)
    {
        $this->coordinates = $coordinates;
        $this->setNumber(count($coordinates));

        return $this;
    }
public function setCoordinate ( \ ArrayObject $ coordinates ) { $ this -> coordinates = $ coordinates ; $ this -> setNumber ( count ( $ coordinates ) ) ; return $ this ; }
Add an array of coordinates

@param \ArrayObject $coordinates

@return \Jaguar\Drawable\Polygon
Add an array of coordinates