public function restore() 
    {
        $state = array_pop($this->savedStates);
        if ($state != NULL) {
            $this->transform = $state['transform'];
            $this->fillStyle = $state['fillStyle'];
        }
    }
public function restore() 
    {
        $state = array_pop($this->savedStates);
        if ($state != NULL) {
            $this->transform = $state['transform'];
            $this->fillStyle = $state['fillStyle'];
        }
    }
public function restore ( ) { $ state = array_pop ( $ this -> savedStates ) ; if ( $ state != NULL ) { $ this -> transform = $ state [ 'transform' ] ; $ this -> fillStyle = $ state [ 'fillStyle' ] ; } }
Restores the last saved state of the CanvasContext.
Restores the last saved state of the CanvasContext .