public function rotate($angle = 0)
    {
        if ($this->resource) {
            $this->resource = imagerotate($this->resource, $angle, 0);
        }

        return $this;
    }
public function rotate($angle = 0)
    {
        if ($this->resource) {
            $this->resource = imagerotate($this->resource, $angle, 0);
        }

        return $this;
    }
public function rotate ( $ angle = 0 ) { if ( $ this -> resource ) { $ this -> resource = imagerotate ( $ this -> resource , $ angle , 0 ) ; } return $ this ; }
Rotate the image with a given angle.

@access public
@param int $angle
@return \GImage\Image
Rotate the image with a given angle .