| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.0, 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 |
| Runtime Versions : | AIR 1.0, Flash Player 9 |
Specifies that the gradient use the pad spread method.
public static const REFLECT:String = "reflect"| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.0, Flash Player 9 |
Specifies that the gradient use the reflect spread method.
public static const REPEAT:String = "repeat"| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.0, Flash Player 9 |
Specifies that the gradient use the repeat spread method.
© 2004-2008 Adobe Systems Incorporated. All rights reserved.
Mon Jun 16 2008, 11:54 AM -07:00 Current page: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/SpreadMethod.html