| Package | flash.display |
| Class | public final class SpreadMethod |
| Inheritance | SpreadMethod Object |
spreadMethod parameter
in the beginGradientFill() and lineGradientStyle() methods of the Graphics class.
The following example shows the same gradient fill using various spread methods:
![]() |
![]() |
![]() |
SpreadMethod.PAD |
SpreadMethod.REFLECT |
SpreadMethod.REPEAT |
See also
| Constant | Defined by | ||
|---|---|---|---|
| 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 | ||
| PAD | constant |
public static const PAD:String = "pad"Specifies that the gradient use the pad spread method.
| REFLECT | constant |
public static const REFLECT:String = "reflect"Specifies that the gradient use the reflect spread method.
| REPEAT | constant |
public static const REPEAT:String = "repeat"Specifies that the gradient use the repeat spread method.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flex/2/langref/flash/display/SpreadMethod.html