Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.7.0

Request #2449 Change color of text by word
Submitted: 2004-10-04 20:50 UTC
From: se at hexatex dot de Assigned: bigmichi1
Status: Closed Package: Image_Text
PHP Version: 4.3.8 OS:
Roadmaps: 0.8.0    
Subscription  


 [2004-10-04 20:50 UTC] se at hexatex dot de
Description: ------------ It would be nice to be able to change the color of text by Word, so that we could have a line with text with different words having different colors. It would be even nicer to be able to do that on a character basis. Reproduce code: --------------- # that is one way it could look $image_text->setColor('#ffff00'); $image_text->addText('Eins '); $image_text->setColor('#ff0000'); $image_text->addText('Zwei '); $image_text->setColor('#00ff00'); $image_text->addText('Drei'); $image_text->render(); Expected result: ---------------- The word "Eins ", "Zwei " and "Drei " would be different colors, but on one line. Thanks Sascha Ebach

Comments

 [2013-08-12 13:51 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!