Language version: | ActionScript 3.0 |
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 |
Specifies that the gradient use the pad spread method.
public static const REFLECT:String = "reflect"
Language version: | ActionScript 3.0 |
Specifies that the gradient use the reflect spread method.
public static const REPEAT:String = "repeat"
Language version: | ActionScript 3.0 |
Specifies that the gradient use the repeat spread method.
© 2004-2022 Adobe Systems Incorporated. All rights reserved.
Wed Sep 28 2022, 6:12 PM GMT+01:00