src/Rasterization/Path/SVGPolygonBuilder.php
public function addPoint($x, $y)
    {
        $x = isset($x) ? $x : $this->posX;
        $y = isset($y) ? $y : $this->posY;

        $this->points[] = array($x, $y);

        $this->posX = $x;
        $this->posY = $y;
    }
public function addPoint($x, $y)
    {
        $x = isset($x) ? $x : $this->posX;
        $y = isset($y) ? $y : $this->posY;

        $this->points[] = array($x, $y);

        $this->posX = $x;
        $this->posY = $y;
    }
public function addPoint ( $ x , $ y ) { $ x = isset ( $ x ) ? $ x : $ this -> posX ; $ y = isset ( $ y ) ? $ y : $ this -> posY ; $ this -> points [ ] = array ( $ x , $ y ) ; $ this -> posX = $ x ; $ this -> posY = $ y ; }
Appends a point with ABSOLUTE coordinates to the end of this polygon.

Provide null for a coordinate to use the current position for that
coordinate.

@param float|null $x The point's absolute x coordinate.
@param float|null $y The point's absolute y coordinate.

@return void
Appends a point with ABSOLUTE coordinates to the end of this polygon .