| Package | org.aswing |
| Class | public class GradientBackground |
| Implements | GroundDecorator |
| Method | Defined by | ||
|---|---|---|---|
|
GradientBackground(fillType:String, colors:Array, alphas:Array, ratios:Array, direction:Number = 0, spreadMethod:String = "pad", interpolationMethod:String = "rgb", focalPointRatio:Number = 0)
| GradientBackground | ||
|
getDisplay(c:Component):DisplayObject
| GradientBackground | ||
| GradientBackground | |||
| GradientBackground | () | constructor |
public function GradientBackground(fillType:String, colors:Array, alphas:Array, ratios:Array, direction:Number = 0, spreadMethod:String = "pad", interpolationMethod:String = "rgb", focalPointRatio:Number = 0)Parameters
fillType:String |
|
colors:Array |
|
alphas:Array |
|
ratios:Array |
|
direction:Number (default = 0) |
|
spreadMethod:String (default = "pad") |
|
interpolationMethod:String (default = "rgb") |
|
focalPointRatio:Number (default = 0) |
| getDisplay | () | method |
| updateDecorator | () | method |
public function updateDecorator(com:Component, g:Graphics2D, bounds:IntRectangle):voidParameters
com:Component |
|
g:Graphics2D |
|
bounds:IntRectangle |