public function curve(float $x1, float $y1, float $x2, float $y2, float $x3, float $y3) : self
    {
        $path = clone $this;
        $path->operations[] = new Curve($x1, $y1, $x2, $y2, $x3, $y3);
        return $path;
    }
public function curve(float $x1, float $y1, float $x2, float $y2, float $x3, float $y3) : self
    {
        $path = clone $this;
        $path->operations[] = new Curve($x1, $y1, $x2, $y2, $x3, $y3);
        return $path;
    }
public function curve ( float $ x1 , float $ y1 , float $ x2 , float $ y2 , float $ x3 , float $ y3 ) : self { $ path = clone $ this ; $ path -> operations [ ] = new Curve ( $ x1 , $ y1 , $ x2 , $ y2 , $ x3 , $ y3 ) ; return $ path ; }
Draws a curve from the current position to another position.
Draws a curve from the current position to another position .