SWFGradient->addEntry()

(no version information, might be only in CVS)

SWFGradient->addEntry() -- Adds an entry to the gradient list

Description

class SWFGradient {

void addEntry ( float ratio, int red, int green, int blue [, int a] )

}

Avertissement

Cette fonction est EXPERIMENTALE. Cela signifie que le comportement de cette fonction, son nom et, concrètement, TOUT ce qui est documenté ici peut changer dans un futur proche, SANS PREAVIS ! Soyez-en conscient, et utilisez cette fonction à vos risques et périls.

swfgradient->addentry() adds an entry to the gradient list. ratio is a number between 0 and 1 indicating where in the gradient this color appears. Thou shalt add entries in order of increasing ratio.

red, green, blue is a color (RGB mode). Last parameter a is optional.

Valeurs de retour

Aucune valeur n'est retournée.