SWFButton->addShape()
(PHP 4 >= 4.0.5)
SWFButton->addShape() — Adds a shape to a button
Popis
SWFButton
void addShape
( SWFShape $shape
, int $flags
)
Warning
Táto funkcia je EXPERIMENTÁLNA. Správanie tejto funkcie, názov tejto funkcie a hocičo iné zdokumentované o tejto funkcii sa môže zmeniť bez povšimnutia v budúcom vydaní PHP. Používajte túto funkcii na svoje vlastné riziko.
Adds the given shape to the button.
Parametre
- shape
-
An SWFShape instance
- flags
-
The following flags are valid: SWFBUTTON_UP, SWFBUTTON_OVER, SWFBUTTON_DOWN and SWFBUTTON_HIT.
SWFBUTTON_HIT isn't ever displayed, it defines the hit region for the button. That is, everywhere the hit shape would be drawn is considered a "touchable" part of the button.
Vrátené hodnoty
Nevráti sa žiadna hodnota.