| Pacote | flash.display |
| Classe | public final class SpreadMethod |
| Herança | SpreadMethod Object |
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.PAD | SpreadMethod.REFLECT | SpreadMethod.REPEAT |
Veja também
| Constante | Definido 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 | ||
| PAD | Constante |
public static const PAD:String = "pad"
Specifies that the gradient use the pad spread method.
| REFLECT | Constante |
public static const REFLECT:String = "reflect"
Specifies that the gradient use the reflect spread method.
| REPEAT | Constante |
public static const REPEAT:String = "repeat"
Specifies that the gradient use the repeat spread method.