public function translate($x, $y) 
    {
        $this->transform = $this->transform->translate($x, $y);
    }
public function translate($x, $y) 
    {
        $this->transform = $this->transform->translate($x, $y);
    }
public function translate ( $ x , $ y ) { $ this -> transform = $ this -> transform -> translate ( $ x , $ y ) ; }
Applies a translation transformation to the CanvasContext.

@param float $x Distance to move in the horizontal direction in pixels.
@param float $y Distance to move in the vertical direction in pixels.
Applies a translation transformation to the CanvasContext .