original_string: function fill($color = '#000000') {
          $rgba = $this->normalize_color($color);
          $fill_color = imagecolorallocatealpha($this->image, $rgba['r'], $rgba['g'], $rgba['b'], $rgba['a']);
          imagealphablending($this->image, false);
          imagesavealpha($this->image, true);
          imagefilledrectangle($this->image, 0, 0, $this->width, $this->height, $fill_color);
          return $this;
      }
code: function fill($color = '#000000') {
          $rgba = $this->normalize_color($color);
          $fill_color = imagecolorallocatealpha($this->image, $rgba['r'], $rgba['g'], $rgba['b'], $rgba['a']);
          imagealphablending($this->image, false);
          imagesavealpha($this->image, true);
          imagefilledrectangle($this->image, 0, 0, $this->width, $this->height, $fill_color);
          return $this;
      }
code_tokens: function fill ( $ color = '#000000' ) { $ rgba = $ this -> normalize_color ( $ color ) ; $ fill_color = imagecolorallocatealpha ( $ this -> image , $ rgba [ 'r' ] , $ rgba [ 'g' ] , $ rgba [ 'b' ] , $ rgba [ 'a' ] ) ; imagealphablending ( $ this -> image , false ) ; imagesavealpha ( $ this -> image , true ) ; imagefilledrectangle ( $ this -> image , 0 , 0 , $ this -> width , $ this -> height , $ fill_color ) ; return $ this ; }
docstring: Fill image with color
  
  @param string        $color  Hex color string, array(red, green, blue) or array(red, green, blue, alpha).
  Where red, green, blue - integers 0-255, alpha - integer 0-127
  
  @return SimpleImage
docstring_tokens: Fill image with color