| Property | Defined 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 | ||
| Method | Defined By | ||
|---|---|---|---|
GradientEntry(alpha:Number = 1.0, color:uint = 0x000000, ratio:Number = 1.0) | GradientEntry | ||
begin(s:IGraphicShape):void
Begin drawing the fill on the given shape's graphic object
| GradientEntry | ||
end(s:IGraphicShape):void
End the fill
| GradientEntry | ||
| alpha | property |
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.
public function get alpha():Number public function set alpha(value:Number):void| color | property |
color:uint| Language Version : | ActionScript 3.0 |
| Product Version : | FlexJS 0.3 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
A color value.
public function get color():uint public function set color(value:uint):void| ratio | property |
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%.
public function get ratio():Number public function set ratio(value:Number):void| GradientEntry | () | Constructor |
public function GradientEntry(alpha:Number = 1.0, color:uint = 0x000000, ratio:Number = 1.0)alpha:Number (default = 1.0) | |
color:uint (default = 0x000000) | |
ratio:Number (default = 1.0) |
| begin | () | method |
public function begin(s:IGraphicShape):voidBegin drawing the fill on the given shape's graphic object
Parameters
s:IGraphicShape |
| end | () | method |