| Package | com.flashdynamix.motion.effects.core |
| Class | public class ChannelEffect |
| Implements | IEffect |
| Property | Defined by | ||
|---|---|---|---|
| destChannel : uint
The channel to apply to the destination BitmapData.
You can use the bitwise OR operator (|) to combine channel values. | ChannelEffect | ||
| destPoint : Point
The position from which to retrieve the channel from.
| ChannelEffect | ||
| sourceBmd : BitmapData
The source BitmapData to copy a channel from.
| ChannelEffect | ||
| sourceChannel : uint
The channel(s) to retrieve from the sourceBmd.
You can use the bitwise OR operator (|) to combine channel values. | ChannelEffect | ||
| sourceRect : Rectangle
The clipping Rectangle area to retrieve the channel from.
| ChannelEffect | ||
| Method | Defined by | ||
|---|---|---|---|
|
ChannelEffect(sourceBmd:BitmapData, sourceChannel:uint, destChannel:uint, sourceRect:Rectangle = null, destPoint:Point = null)
| ChannelEffect | ||
|
render(bmd:BitmapData):void
Renders the ChannelEffect to the specified BitmapData.
| ChannelEffect | ||
| destChannel | property |
public var destChannel:uint
The channel to apply to the destination BitmapData.
You can use the bitwise OR operator (|) to combine channel values.
| destPoint | property |
public var destPoint:PointThe position from which to retrieve the channel from.
| sourceBmd | property |
public var sourceBmd:BitmapDataThe source BitmapData to copy a channel from.
| sourceChannel | property |
public var sourceChannel:uint
The channel(s) to retrieve from the sourceBmd.
You can use the bitwise OR operator (|) to combine channel values.
| sourceRect | property |
public var sourceRect:RectangleThe clipping Rectangle area to retrieve the channel from.
| ChannelEffect | () | constructor |
public function ChannelEffect(sourceBmd:BitmapData, sourceChannel:uint, destChannel:uint, sourceRect:Rectangle = null, destPoint:Point = null)Parameters
sourceBmd:BitmapData — The source BitmapData to copy a channel from.
|
|
sourceChannel:uint — The channel(s) to retrieve from the sourceBmd.
|
|
destChannel:uint — The clipping Rectangle area to retrieve the channel within.
|
|
sourceRect:Rectangle (default = null) — The position from which to retrieve the channel from.
|
|
destPoint:Point (default = null) |
| render | () | method |
public function render(bmd:BitmapData):voidRenders the ChannelEffect to the specified BitmapData.
Parametersbmd:BitmapData |