SWFShape->setLine()
Opis
class SWFShape {void setLine ( SWFShape shape )
void setLine ( int width, int red, int green, int blue [, int a] )
}
Ostrzeżenie |
Ta funkcja jest w stadium EKSPERYMENTALNYM. Oznacza to, że zachowanie funkcji, jej nazwa, w zasadzie wszystko udokumentowane tutaj może zostać zmienione w przyszłych wersjach PHP bez wcześniejszego uprzedzenia. Używaj tej funkcji na własne ryzyko. |
swfshape->setline() sets the shape's line style.
width
is the line's width. If width
is 0, the line's style is removed (then, all other arguments are ignored).
If width
> 0, then line's color is set to
red
, green
, blue
.
Last parameter a
is optional.
You must declare all line styles before you use them (see example).
Przykłady
This simple example will draw a big "!#%*@", in funny colors and gracious style.
Poprzedni | Spis treści | Następny |
SWFShape->setLeftFill() | Początek rozdziału |