lib/PHPPdf/Core/Node/Node.php
public function translate($x, $y)
    {
        if(!$x && !$y)
        {
            return;
        }
        
        $this->getBoundary()->translate($x, $y);
    }
public function translate($x, $y)
    {
        if(!$x && !$y)
        {
            return;
        }
        
        $this->getBoundary()->translate($x, $y);
    }
public function translate ( $ x , $ y ) { if ( ! $ x && ! $ y ) { return ; } $ this -> getBoundary ( ) -> translate ( $ x , $ y ) ; }
Translates position of this node

@param float $x X coord of translation vector
@param float $y Y coord of translation vector
Translates position of this node