Guida di riferimento di ActionScript® 3.0 per la piattaforma Adobe® Flash®
Home  |  Nascondi elenco pacchetti e classi |  Pacchetti  |  Classi  |  Novità  |  Indice  |  Appendici  |  Perché in inglese?
Filtri: Recupero dati dal server...
Recupero dati dal server...
spark.effects.interpolation 

RGBInterpolator  - AS3 Flex

Pacchettospark.effects.interpolation
Classepublic class RGBInterpolator
EreditarietàRGBInterpolator Inheritance Object
Implementa IInterpolator

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 4
Versioni runtime: Flash Player 10, AIR 1.5

The RGBInterpolator class provides interpolation between uint start and end values that represent RGB colors. Interpolation is done by treating the start and end values as integers with color channel information in the least-significant 3 bytes, and then interpolating each of the channels separately.



Proprietà pubbliche
 ProprietàDefinito da
 Inheritedconstructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto.
Object
Metodi pubblici
 MetodoDefinito da
  
Constructor.
RGBInterpolator
  
decrement(baseValue:Object, decrementValue:Object):Object
Returns the result of the two values subtracted on a per-channel basis.
RGBInterpolator
  
[statico] Returns the singleton of this class.
RGBInterpolator
 Inherited
Indica se per un oggetto è definita una proprietà specifica.
Object
  
increment(baseValue:Object, incrementValue:Object):Object
Returns the result of the two values added together on a per-channel basis.
RGBInterpolator
  
interpolate(fraction:Number, startValue:Object, endValue:Object):Object
Interpolation for the RGBInterpolator class takes the form of parametric calculations on each of the bottom three bytes of startValue and endValue.
RGBInterpolator
 Inherited
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro.
Object
 Inherited
Indica se la proprietà specificata esiste ed è enumerabile.
Object
 Inherited
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche.
Object
 Inherited
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate.
Object
 Inherited
Restituisce la rappresentazione in formato stringa dell'oggetto specificato.
Object
 Inherited
Restituisce il valore di base dell'oggetto specificato.
Object
Descrizione della funzione di costruzione

RGBInterpolator

()Funzione di costruzione
public function RGBInterpolator()

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 4
Versioni runtime: Flash Player 10, AIR 1.5

Constructor.

Descrizione dei metodi

decrement

()metodo
public function decrement(baseValue:Object, decrementValue:Object):Object

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 4
Versioni runtime: Flash Player 10, AIR 1.5

Returns the result of the two values subtracted on a per-channel basis. Each channel has a minimum value of 0 to avoid underflow problems.

Parametri

baseValue:Object — The start value of the interpolation.
 
decrementValue:Object — The change to apply to the baseValue.

Restituisce
Object — The interpolated value.

getInstance

()metodo 
public static function getInstance():RGBInterpolator

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 4
Versioni runtime: Flash Player 10, AIR 1.5

Returns the singleton of this class. Since all RGBInterpolators have the same behavior, there is no need for more than one instance.

Restituisce
RGBInterpolator — The singleton of this class.

increment

()metodo 
public function increment(baseValue:Object, incrementValue:Object):Object

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 4
Versioni runtime: Flash Player 10, AIR 1.5

Returns the result of the two values added together on a per-channel basis. Each channel has a maximum value of 255 to avoid overflow problems.

Parametri

baseValue:Object — The start value of the interpolation.
 
incrementValue:Object — The change to apply to the baseValue.

Restituisce
Object — The interpolated value.

interpolate

()metodo 
public function interpolate(fraction:Number, startValue:Object, endValue:Object):Object

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 4
Versioni runtime: Flash Player 10, AIR 1.5

Interpolation for the RGBInterpolator class takes the form of parametric calculations on each of the bottom three bytes of startValue and endValue.

Parametri

fraction:Number — The fraction elapsed of the animation, between 0.0 and 1.0.
 
startValue:Object — The start value of the interpolation.
 
endValue:Object — The end value of the interpolation.

Restituisce
Object — The interpolated value.




[ X ]Perché in inglese?
Il contenuto della Guida di riferimento di ActionScript 3.0 appare in inglese

Non tutte le parti della Guida di riferimento di ActionScript 3.0 sono tradotte in tutte le lingue. Quando un elemento del linguaggio non è tradotto, viene riportato in inglese. Ad esempio, la classe ga.controls.HelpBox non è tradotta in nessuna lingua. Pertanto, nella versione italiana della guida di riferimento, la descrizione della classe ga.controls.HelpBox è riportata in inglese.