original_string: public function draw($text, $size=12, $x=0, $y=0)
      {
  
          imagettftext($this->image, $size, $this->rotation, $x, $y, $this->text_color, $this->font, $text);
  
          return $this->image;
  
      }
code: public function draw($text, $size=12, $x=0, $y=0)
      {
  
          imagettftext($this->image, $size, $this->rotation, $x, $y, $this->text_color, $this->font, $text);
  
          return $this->image;
  
      }
code_tokens: public function draw ( $ text , $ size = 12 , $ x = 0 , $ y = 0 ) { imagettftext ( $ this -> image , $ size , $ this -> rotation , $ x , $ y , $ this -> text_color , $ this -> font , $ text ) ; return $ this -> image ; }
docstring: Draws the text onto the image
  
  @param string $text  The text to write on the image
  @param integer $size  The font size to use
  @param integer $x The x position to start draiwng on the image
  @param integer $y    The y position to start drawing on the image
  @return resource A png image resource that can be used by imagepng, imagegif for output
docstring_tokens: Draws the text onto the image