Pacoteflash.display
Classepublic final class SpreadMethod
HerançaSpreadMethod Inheritance Object

The SpreadMethod class provides values for the spreadMethod parameter in the beginGradientFill() and lineGradientStyle() methods of the Graphics class.

The following exemplo shows the same gradient fill using various spread methods:

SpreadMethod.PADSpreadMethod.REFLECTSpreadMethod.REPEAT

Veja também

flash.display.Graphics.beginGradientFill()
flash.display.Graphics.lineGradientStyle()


Propriedades Públicas
 PropriedadeDefinido por
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Métodos Públicos
 MétodoDefinido por
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Constantes públicas
 ConstanteDefinido por
  PAD : String = "pad"
[static] Specifies that the gradient use the pad spread method.
SpreadMethod
  REFLECT : String = "reflect"
[static] Specifies that the gradient use the reflect spread method.
SpreadMethod
  REPEAT : String = "repeat"
[static] Specifies that the gradient use the repeat spread method.
SpreadMethod
Detalhes da constante
PADConstante
public static const PAD:String = "pad"

Specifies that the gradient use the pad spread method.

REFLECTConstante 
public static const REFLECT:String = "reflect"

Specifies that the gradient use the reflect spread method.

REPEATConstante 
public static const REPEAT:String = "repeat"

Specifies that the gradient use the repeat spread method.