public function setSize($width = 0, $height = 0)
    {
        if (!empty($width) && !empty($height)) {
            $this->width = $this->boxWidth = $width;
            $this->height = $this->boxHeight = $height;
        }

        return $this;
    }
public function setSize($width = 0, $height = 0)
    {
        if (!empty($width) && !empty($height)) {
            $this->width = $this->boxWidth = $width;
            $this->height = $this->boxHeight = $height;
        }

        return $this;
    }
public function setSize ( $ width = 0 , $ height = 0 ) { if ( ! empty ( $ width ) && ! empty ( $ height ) ) { $ this -> width = $ this -> boxWidth = $ width ; $ this -> height = $ this -> boxHeight = $ height ; } return $ this ; }
Sets size to figure.

@access public
@param  int $width  Width.
@param  int $height Height.
@return \GImage\Figure
Sets size to figure .