Forum und email

SWFButton->addShape()

(PHP 4 >= 4.0.5)

SWFButton->addShape() — Adds a shape to a button

Descrizione

SWFButton
void addShape ( SWFShape $shape , int $flags )
Avviso

Questa funzione è SPERIMENTALE. Ovvero, il comportamento di questa funzione, il nome di questa funzione, in definitiva tutto ciò che è documentato qui può cambiare nei futuri rilasci del PHP senza preavviso. Siete avvisati, l'uso di questa funzione è a vostro rischio.

Adds the given shape to the button.

Elenco dei parametri

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.

Valori restituiti

Nessun valore viene restituito.


08, Erik Sefkow