swftext() creates a new SWFText object, fresh for manipulating.
SWFText has the following methods : swftext->setfont(), swftext->setheight(), swftext->setspacing(), swftext->setcolor(), swftext->moveto(), swftext->addstring() and swftext->getwidth().
This simple example will draw a big yellow "PHP generates Flash with Ming" text, on white background.
Exemple 1. swftext() example
|
Précédent | Sommaire | Suivant |
SWFMorph->getshape2 | Niveau supérieur | SWFText->setFont |