Packageorg.apache.flex.graphics
Classpublic class GradientEntry
InheritanceGradientEntry Inheritance Object



Public Properties
 PropertyDefined By
  alpha : Number
The transparency of a color.
GradientEntry
  color : uint
A color value.
GradientEntry
  ratio : Number
Where in the graphical element, as a percentage from 0.0 to 1.0, Flex samples the associated color at 100%.
GradientEntry
Public Methods
 MethodDefined By
  
GradientEntry(alpha:Number = 1.0, color:uint = 0x000000, ratio:Number = 1.0)
GradientEntry
  
Begin drawing the fill on the given shape's graphic object
GradientEntry
  
End the fill
GradientEntry
Property Detail
alphaproperty
alpha:Number

Language Version : ActionScript 3.0
Product Version : FlexJS 0.3
Runtime Versions : Flash Player 10.2, AIR 2.6

The transparency of a color. Possible values are 0.0 (invisible) through 1.0 (opaque).

The default value is 1.0.


Implementation
    public function get alpha():Number
    public function set alpha(value:Number):void
colorproperty 
color:uint

Language Version : ActionScript 3.0
Product Version : FlexJS 0.3
Runtime Versions : Flash Player 9, AIR 1.1

A color value.


Implementation
    public function get color():uint
    public function set color(value:uint):void
ratioproperty 
ratio:Number

Language Version : ActionScript 3.0
Product Version : FlexJS 0.3
Runtime Versions : Flash Player 9, AIR 1.1

Where in the graphical element, as a percentage from 0.0 to 1.0, Flex samples the associated color at 100%.


Implementation
    public function get ratio():Number
    public function set ratio(value:Number):void
Constructor Detail
GradientEntry()Constructor
public function GradientEntry(alpha:Number = 1.0, color:uint = 0x000000, ratio:Number = 1.0)



Parameters
alpha:Number (default = 1.0)
 
color:uint (default = 0x000000)
 
ratio:Number (default = 1.0)
Method Detail
begin()method
public function begin(s:IGraphicShape):void

Begin drawing the fill on the given shape's graphic object

Parameters

s:IGraphicShape

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

End the fill

Parameters

s:IGraphicShape