| Package | pegas.draw |
| Class | public final class FillStyle |
| Inheritance | FillStyle CoreObject |
| Implements | IFillStyle |
| Property | Defined by | ||
|---|---|---|---|
| alpha : Number
The alpha value of the fill style.
| FillStyle | ||
| color : uint
The color value of the fill style.
| FillStyle | ||
| EMPTY : FillStyle
[static]
The empty FillStyle singleton.
| FillStyle | ||
| Method | Defined by | ||
|---|---|---|---|
|
FillStyle(color:uint, alpha:Number = 1.0)
Creates a new FillStyle instance.
| FillStyle | ||
![]() |
Returns the internal
ILogger reference of this ILogable object. | CoreObject | |
![]() |
hashCode():uint
Returns a hashcode value for the object.
| CoreObject | |
|
init(graphic:Graphics):void
Initialize and launch the beginFill method of the specified Graphics reference.
| FillStyle | ||
![]() |
Sets the internal
ILogger reference of this ILogable object. | CoreObject | |
![]() |
toSource(indent:int = 0):String
Returns the string representation the source code of the object.
| CoreObject | |
![]() |
toString():String
Returns the string representation of this instance.
| CoreObject | |
| alpha | property |
public var alpha:NumberThe alpha value of the fill style.
| color | property |
public var color:uintThe color value of the fill style.
| EMPTY | property |
public static var EMPTY:FillStyleThe empty FillStyle singleton.
| FillStyle | () | constructor |
public function FillStyle(color:uint, alpha:Number = 1.0)Creates a new FillStyle instance.
Parameterscolor:uint — The color value of the fill style.
|
|
alpha:Number (default = 1.0) — The alpha value of the fill style.
|
| init | () | method |
public function init(graphic:Graphics):voidInitialize and launch the beginFill method of the specified Graphics reference.
Parametersgraphic:Graphics |