| Package | org.apache.flex.svg |
| Class | public class LinearGradient |
| Inheritance | LinearGradient GradientBase Object |
| Implements | IFill |
| Property | Defined By | ||
|---|---|---|---|
![]() | entries : Array
An Array of GradientEntry objects
defining the fill patterns for the gradient fill. | GradientBase | |
![]() | newId : String [read-only]
generate uid
| GradientBase | |
![]() | rotation : Number
By default, the LinearGradientStroke defines a transition
from left to right across the control. | GradientBase | |
| scaleX : Number
The horizontal scale of the gradient transform, which defines the width of the (unrotated) gradient
| LinearGradient | ||
![]() | x : Number
The distance by which to translate each point along the x axis. | GradientBase | |
![]() | y : Number
The distance by which to translate each point along the y axis. | GradientBase | |
| Method | Defined By | ||
|---|---|---|---|
begin(s:IGraphicShape, targetBounds:Rectangle, targetOrigin:Point):void | LinearGradient | ||
end(s:IGraphicShape):void | LinearGradient | ||
| scaleX | property |
scaleX:NumberThe horizontal scale of the gradient transform, which defines the width of the (unrotated) gradient
public function get scaleX():Number public function set scaleX(value:Number):void| begin | () | method |
public function begin(s:IGraphicShape, targetBounds:Rectangle, targetOrigin:Point):voidParameters
s:IGraphicShape | |
targetBounds:Rectangle | |
targetOrigin:Point |
| end | () | method |