| Package | com.flashdynamix.motion.effects.core |
| Class | public class CopyEffect |
| Implements | IEffect |
| Property | Defined by | ||
|---|---|---|---|
| alphaBmd : BitmapData
The alphaBmd ALPHA channel to use when copying the BitmapData, if one is desired other than the ALPHA.
| CopyEffect | ||
| alphaPt : Point
The point to draw the ALPHA channel from using the alphaBmd.
| CopyEffect | ||
| mergeAlpha : Boolean
Whether both ALPHA channels are merged between the sourceBmd and the alphaBmd.
| CopyEffect | ||
| point : Point
The destination point to draw the sourceRect from.
| CopyEffect | ||
| sourceBmd : BitmapData
The source BitmapData to copy onto the destination BitmapData.
| CopyEffect | ||
| sourceRect : Rectangle
The clipping rectangle to use when drawing the source BitmapData onto the destination BitmapData.
| CopyEffect | ||
| Method | Defined by | ||
|---|---|---|---|
|
CopyEffect(sourceBmd:BitmapData, sourceRect:Rectangle = null, point:Point = null, alphaBmd:BitmapData = null, alphaPt:Point = null, mergeAlpha:Boolean = false)
| CopyEffect | ||
|
render(bmd:BitmapData):void
Renders the CopyEffect to the specified BitmapData.
| CopyEffect | ||
| alphaBmd | property |
public var alphaBmd:BitmapDataThe alphaBmd ALPHA channel to use when copying the BitmapData, if one is desired other than the ALPHA. channel in the sourceBmd
| alphaPt | property |
public var alphaPt:PointThe point to draw the ALPHA channel from using the alphaBmd.
| mergeAlpha | property |
public var mergeAlpha:BooleanWhether both ALPHA channels are merged between the sourceBmd and the alphaBmd.
| point | property |
public var point:PointThe destination point to draw the sourceRect from.
| sourceBmd | property |
public var sourceBmd:BitmapDataThe source BitmapData to copy onto the destination BitmapData.
| sourceRect | property |
public var sourceRect:RectangleThe clipping rectangle to use when drawing the source BitmapData onto the destination BitmapData.
| CopyEffect | () | constructor |
public function CopyEffect(sourceBmd:BitmapData, sourceRect:Rectangle = null, point:Point = null, alphaBmd:BitmapData = null, alphaPt:Point = null, mergeAlpha:Boolean = false)Parameters
sourceBmd:BitmapData — The source BitmapData to copy onto the destination BitmapData.
|
|
sourceRect:Rectangle (default = null) — The clipping rectangle to use when drawing the source BitmapData onto the destination BitmapData.
|
|
point:Point (default = null) — The destination point to draw the sourceRect from.
|
|
alphaBmd:BitmapData (default = null) — The alphaBmd ALPHA channel to use when copying the BitmapData if another is desired other than the ALPHA
channel in the sourceBmd.
|
|
alphaPt:Point (default = null) — The point to draw the ALPHA channel from using the alphaBmd.
|
|
mergeAlpha:Boolean (default = false) — Whether both ALPHA channels are merged between the sourceBmd and the alphaBmd.
|
| render | () | method |
public function render(bmd:BitmapData):voidRenders the CopyEffect to the specified BitmapData.
Parametersbmd:BitmapData |