| Package | com.flashdynamix.motion.effects.core |
| Class | public class MergeEffect |
| Implements | IEffect |
| Property | Defined by | ||
|---|---|---|---|
| alphaMultiplier : uint
A hexadecimal color which defines the amount of the alpha channel to merge.
| MergeEffect | ||
| blueMultiplier : uint
A hexadecimal color which defines the amount of the blue channel to merge.
| MergeEffect | ||
| clipRect : Rectangle
The clipping rectangle to use when merging the source BitmapData onto the destination BitmapData.
| MergeEffect | ||
| greenMultiplier : uint
A hexadecimal color which defines the amount of the green channel to merge.
| MergeEffect | ||
| point : Point
The destination point to draw the sourceRect from.
| MergeEffect | ||
| redMultiplier : uint
A hexadecimal color which defines the amount of the red channel to merge.
| MergeEffect | ||
| sourceBmd : BitmapData
The source BitmapData to be used to merge onto the destination BitmapData.
| MergeEffect | ||
| Method | Defined by | ||
|---|---|---|---|
|
MergeEffect(sourceBmd:BitmapData, redMultiplier:uint = 0, greenMultiplier:uint = 0, blueMultiplier:uint = 0, alphaMultiplier:uint = 0, point:Point = null, clipRect:Rectangle = null)
| MergeEffect | ||
|
render(bmd:BitmapData):void
Renders the MergeEffect to the specified BitmapData.
| MergeEffect | ||
| alphaMultiplier | property |
public var alphaMultiplier:uintA hexadecimal color which defines the amount of the alpha channel to merge. i.e. 0x80 will be 50%
| blueMultiplier | property |
public var blueMultiplier:uintA hexadecimal color which defines the amount of the blue channel to merge. i.e. 0x80 will be 50%
| clipRect | property |
public var clipRect:RectangleThe clipping rectangle to use when merging the source BitmapData onto the destination BitmapData.
| greenMultiplier | property |
public var greenMultiplier:uintA hexadecimal color which defines the amount of the green channel to merge. i.e. 0x80 will be 50%
| point | property |
public var point:PointThe destination point to draw the sourceRect from.
| redMultiplier | property |
public var redMultiplier:uintA hexadecimal color which defines the amount of the red channel to merge. i.e. 0x80 will be 50%
| sourceBmd | property |
public var sourceBmd:BitmapDataThe source BitmapData to be used to merge onto the destination BitmapData.
| MergeEffect | () | constructor |
public function MergeEffect(sourceBmd:BitmapData, redMultiplier:uint = 0, greenMultiplier:uint = 0, blueMultiplier:uint = 0, alphaMultiplier:uint = 0, point:Point = null, clipRect:Rectangle = null)Parameters
sourceBmd:BitmapData — The source BitmapData to be used to merge onto the destination BitmapData.
|
|
redMultiplier:uint (default = 0) — A hexadecimal color which defines the amount of the red channel to merge.
|
|
greenMultiplier:uint (default = 0) — A hexadecimal color which defines the amount of the green channel to merge.
|
|
blueMultiplier:uint (default = 0) — A hexadecimal color which defines the amount of the blue channel to merge.
|
|
alphaMultiplier:uint (default = 0) — A hexadecimal color which defines the amount of the alpha channel to merge.
|
|
point:Point (default = null) — The destination point to draw the sourceRect from.
|
|
clipRect:Rectangle (default = null) — The clipping rectangle to use when merging the source BitmapData onto the destination BitmapData.
|
| render | () | method |
public function render(bmd:BitmapData):voidRenders the MergeEffect to the specified BitmapData.
Parametersbmd:BitmapData |