Packageorg.apache.flex.svg
Classpublic class LinearGradient
InheritanceLinearGradient Inheritance GradientBase Inheritance Object
Implements IFill



Public Properties
 PropertyDefined By
 Inheritedentries : Array
An Array of GradientEntry objects defining the fill patterns for the gradient fill.
GradientBase
 InheritednewId : String
[read-only] generate uid
GradientBase
 Inheritedrotation : 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
 Inheritedx : Number
The distance by which to translate each point along the x axis.
GradientBase
 Inheritedy : Number
The distance by which to translate each point along the y axis.
GradientBase
Protected Properties
 PropertyDefined By
 Inheritedalphas : Array
GradientBase
 Inheritedcolors : Array
GradientBase
 InheritedcompoundTransform : CompoundTransform
Holds the matrix and the convenience transform properties (x, y, and rotation).
GradientBase
 Inheritedratios : Array
GradientBase
 InheritedrotationInRadians : Number
[read-only]
GradientBase
Public Methods
 MethodDefined By
  
begin(s:IGraphicShape, targetBounds:Rectangle, targetOrigin:Point):void
LinearGradient
  
LinearGradient
Protected Methods
 MethodDefined By
 Inherited
toRad(a:Number):Number
GradientBase
Public Constants
 ConstantDefined By
 InheritedGRADIENT_DIMENSION : Number = 1638.4
[static] Value of the width and height of the untransformed gradient
GradientBase
Property Detail
scaleXproperty
scaleX:Number

The horizontal scale of the gradient transform, which defines the width of the (unrotated) gradient


Implementation
    public function get scaleX():Number
    public function set scaleX(value:Number):void
Method Detail
begin()method
public function begin(s:IGraphicShape, targetBounds:Rectangle, targetOrigin:Point):void

Parameters

s:IGraphicShape
 
targetBounds:Rectangle
 
targetOrigin:Point

end()method 
public function end(s:IGraphicShape):void

Parameters

s:IGraphicShape