Packageorg.apache.flex.graphics
Classpublic class SolidColor
InheritanceSolidColor Inheritance Object
Implements IFill



Public Properties
 PropertyDefined By
  alpha : Number
The transparency of a color.
SolidColor
  color : uint
A color value.
SolidColor
Public Methods
 MethodDefined By
  
SolidColor(color:uint = 0x000000, alpha:Number = 1.0)
Constructor.
SolidColor
  
begin(s:IGraphicShape, targetBounds:Rectangle, targetOrigin:Point):void
SolidColor
  
SolidColor
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
Constructor Detail
SolidColor()Constructor
public function SolidColor(color:uint = 0x000000, alpha:Number = 1.0)

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Constructor.

Parameters
color:uint (default = 0x000000) — Specifies the color. The default value is 0x000000 (black).
 
alpha:Number (default = 1.0) — Specifies the level of transparency. Valid values range from 0.0 (completely transparent) to 1.0 (completely opaque). The default value is 1.0.
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