src/Rasterization/Path/SVGPolygonBuilder.php
public function addPoints(array $points)
    {
        $this->points = array_merge($this->points, $points);

        $endPoint = $this->points[count($this->points) - 1];
        $this->posX = $endPoint[0];
        $this->posY = $endPoint[1];
    }
public function addPoints(array $points)
    {
        $this->points = array_merge($this->points, $points);

        $endPoint = $this->points[count($this->points) - 1];
        $this->posX = $endPoint[0];
        $this->posY = $endPoint[1];
    }
public function addPoints ( array $ points ) { $ this -> points = array_merge ( $ this -> points , $ points ) ; $ endPoint = $ this -> points [ count ( $ this -> points ) - 1 ] ; $ this -> posX = $ endPoint [ 0 ] ; $ this -> posY = $ endPoint [ 1 ] ; }
Appends multiple points with ABSOLUTE coordinates to this polygon.

@param array[] $points A point array (array of float 2-tuples).

@return void
Appends multiple points with ABSOLUTE coordinates to this polygon .