| Package | com.flashdynamix.motion.effects.core |
| Class | public class DissolveEffect |
| Implements | IEffect |
| Property | Defined by | ||
|---|---|---|---|
| destBmd : BitmapData
This BitmapData is used for the dissolved pixels.
If you wish to dissolve to transparent pixels then create a BitmapData of transparent pixels. | DissolveEffect | ||
| fillColor : uint
The color used to fill for pixels when the source and dissolve BitmapData are the same.
| DissolveEffect | ||
| point : Point
The position from which to draw the dissolve effect.
| DissolveEffect | ||
| seed : int
The seed to use when rendering the dissolve effect this can be any number between 0 to int.MAX_VALUE.
| DissolveEffect | ||
| seedOffset : int
The amount of offset which can be used to randomize the dissolve effect on each render from the seed value.
| DissolveEffect | ||
| steps : Number
The number of steps required to disolve a BitmapData from the original BitmapData to the destination BitmapData.
| DissolveEffect | ||
| Method | Defined by | ||
|---|---|---|---|
|
DissolveEffect(destBmd:BitmapData, steps:Number = 10, seed:int = 0, seedOffset:int, fillColor:uint = 0x00FFFFFF)
| DissolveEffect | ||
|
render(bmd:BitmapData):void
Renders the DissolveEffect on to the specified BitmapData.
| DissolveEffect | ||
| destBmd | property |
public var destBmd:BitmapData
This BitmapData is used for the dissolved pixels.
If you wish to dissolve to transparent pixels then create a BitmapData of transparent pixels.
| fillColor | property |
public var fillColor:uintThe color used to fill for pixels when the source and dissolve BitmapData are the same.
| point | property |
public var point:PointThe position from which to draw the dissolve effect.
| seed | property |
public var seed:intThe seed to use when rendering the dissolve effect this can be any number between 0 to int.MAX_VALUE.
| seedOffset | property |
public var seedOffset:intThe amount of offset which can be used to randomize the dissolve effect on each render from the seed value.
| steps | property |
public var steps:NumberThe number of steps required to disolve a BitmapData from the original BitmapData to the destination BitmapData.
| DissolveEffect | () | constructor |
public function DissolveEffect(destBmd:BitmapData, steps:Number = 10, seed:int = 0, seedOffset:int, fillColor:uint = 0x00FFFFFF)Parameters
destBmd:BitmapData — This BitmapData is used for the dissolved pixels.If you wish to dissolve to transparent pixels then create a BitmapData of transparent pixels. |
|
steps:Number (default = 10) — The number of steps required to disolve a BitmapData from the origion BitmapData to the destination BitmapData.
|
|
seed:int (default = 0) — The seed to use when rendering the dissolve effect this can be any number between 0 to int.MAX_VALUE
|
|
seedOffset:int — The amount of offset which can be used to randomize the dissolve effect on each render from the seed value
|
|
fillColor:uint (default = 0x00FFFFFF) — The color used to fill for pixels when the source and dissolve BitmapData are the same
|
| render | () | method |
public function render(bmd:BitmapData):voidRenders the DissolveEffect on to the specified BitmapData.
Parametersbmd:BitmapData |