src/Rasterization/Path/SVGPolygonBuilder.php
public function getLastPoint()
    {
        if (empty($this->points)) {
            return null;
        }
        return $this->points[count($this->points) - 1];
    }
public function getLastPoint()
    {
        if (empty($this->points)) {
            return null;
        }
        return $this->points[count($this->points) - 1];
    }
public function getLastPoint ( ) { if ( empty ( $ this -> points ) ) { return null ; } return $ this -> points [ count ( $ this -> points ) - 1 ] ; }
Finds the very last point in this polygon, or null if none exist.

@return float[]|null The last point, or null.
Finds the very last point in this polygon or null if none exist .