Language Version : | ActionScript 3.0 |
Player Version : | Flash Player 9 |
The SpreadMethod class provides values for the
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 |
public static const PAD:String = "pad"
Language Version : | ActionScript 3.0 |
Player Version : | Flash Player 9 |
Specifies that the gradient use the pad spread method.
public static const REFLECT:String = "reflect"
Language Version : | ActionScript 3.0 |
Player Version : | Flash Player 9 |
Specifies that the gradient use the reflect spread method.
public static const REPEAT:String = "repeat"
Language Version : | ActionScript 3.0 |
Player Version : | Flash Player 9 |
Specifies that the gradient use the repeat spread method.
© 2004-2007 Adobe Systems Incorporated. All rights reserved.
Tue Mar 18 2008, 12:59 PM GMT-07:00