Packageflash.display
Classpublic final class GraphicsSolidFill
InheritanceGraphicsSolidFill Inheritance Object
Implements IGraphicsFill, IGraphicsData

Defines a solid fill.

A GraphicsSolidFill object can be used with the Graphics.drawGraphicsData() method. when this object is drawn it is the equivalent of calling the Graphics.beginFill() method.

See also

flash.display.Graphics.beginFill()
flash.display.Graphics.drawGraphicsData()


Public Properties
 PropertyDefined By
  alpha : Number = 1.0
GraphicsSolidFill
  color : uint = 0
GraphicsSolidFill
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
  
GraphicsSolidFill(color:uint = 0, alpha:Number = 1.0)
GraphicsSolidFill
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail
alphaproperty
public var alpha:Number = 1.0
colorproperty 
public var color:uint = 0
Constructor Detail
GraphicsSolidFill()Constructor
public function GraphicsSolidFill(color:uint = 0, alpha:Number = 1.0)

Parameters
color:uint (default = 0)
 
alpha:Number (default = 1.0)