| Package | flash.display |
| Class | public final class GraphicsSolidFill |
| Inheritance | GraphicsSolidFill Object |
| Implements | IGraphicsFill, IGraphicsData |
| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Use a GraphicsSolidFill object with the Graphics.drawGraphicsData() method.
Drawing a GraphicsSolidFill object is the equivalent of calling the Graphics.beginFill() method.
Related API Elements
Public Properties
| Property | Defined By | ||
|---|---|---|---|
| alpha : Number = 1.0
Indicates the alpha transparency value of the fill. | GraphicsSolidFill | ||
| color : uint = 0
The color of the fill. | GraphicsSolidFill | ||
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
![]() | prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | |
Public Methods
| Method | Defined By | ||
|---|---|---|---|
Creates a new GraphicsSolidFill object. | GraphicsSolidFill | ||
![]() |
Indicates whether an object has a specified property defined. | Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the string representation of the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object | |
Property Detail
alpha | property |
public var alpha:Number = 1.0| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Indicates the alpha transparency value of the fill. Valid values are 0 (fully transparent) to 1 (fully opaque). The default value is 1. Display objects with alpha set to 0 are active, even though they are invisible.
color | property |
public var color:uint = 0| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
The color of the fill. Valid values are in the hexadecimal format 0xRRGGBB. The default value is 0xFF0000 (or the uint 0).
Constructor Detail
GraphicsSolidFill | () | Constructor |
public function GraphicsSolidFill(color:uint = 0, alpha:Number = 1.0)| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Creates a new GraphicsSolidFill object.
Parameterscolor:uint (default = 0) — The color value. Valid values are in the hexadecimal format 0xRRGGBB.
| |
alpha:Number (default = 1.0) — The alpha transparency value. Valid values are 0 (fully transparent) to 1 (fully opaque).
|
Mon Nov 28 2011, 06:48 AM -08:00
Hide Inherited Public Properties
Show Inherited Public Properties