| Package | com.flashdynamix.motion.effects.core |
| Class | public class DrawEffect |
| Implements | IEffect |
| Property | Defined by | ||
|---|---|---|---|
| blendMode : String = "normal"
The BlendMode to be used on render of the IBitmapDrawable to the BitmapData.
| DrawEffect | ||
| colorTransform : ColorTransform
The ColorTransform to be used on render of the IBitmapDrawable to the BitmapData.
| DrawEffect | ||
| matrix : Matrix
The Matrix transformation to be used on render of the IBitmapDrawable to the BitmapData.
| DrawEffect | ||
| rect : Rectangle
The clipping Rectangle to be used on render of the IBitmapDrawable to the BitmapData.
| DrawEffect | ||
| smoothing : Boolean = false
Whether the BitmapData will be drawn with pixel smoothing.
| DrawEffect | ||
| source : IBitmapDrawable
The source IBitmapDrawable to be drawn onto the BitmapData on render.
| DrawEffect | ||
| Method | Defined by | ||
|---|---|---|---|
|
DrawEffect(source:IBitmapDrawable, matrix:Matrix = null, rect:Rectangle = null, colorTransform:ColorTransform = null, blendMode:String = "normal", smoothing:Boolean = false)
| DrawEffect | ||
|
render(bmd:BitmapData):void
Renders the DrawEffect on to the specified BitmapData.
| DrawEffect | ||
| blendMode | property |
public var blendMode:String = "normal"The BlendMode to be used on render of the IBitmapDrawable to the BitmapData.
| colorTransform | property |
public var colorTransform:ColorTransformThe ColorTransform to be used on render of the IBitmapDrawable to the BitmapData.
| matrix | property |
public var matrix:MatrixThe Matrix transformation to be used on render of the IBitmapDrawable to the BitmapData.
| rect | property |
public var rect:RectangleThe clipping Rectangle to be used on render of the IBitmapDrawable to the BitmapData.
| smoothing | property |
public var smoothing:Boolean = falseWhether the BitmapData will be drawn with pixel smoothing.
| source | property |
public var source:IBitmapDrawableThe source IBitmapDrawable to be drawn onto the BitmapData on render.
| DrawEffect | () | constructor |
public function DrawEffect(source:IBitmapDrawable, matrix:Matrix = null, rect:Rectangle = null, colorTransform:ColorTransform = null, blendMode:String = "normal", smoothing:Boolean = false)Parameters
source:IBitmapDrawable — The source IBitmapDrawable to be drawn onto the BitmapData on render.
|
|
matrix:Matrix (default = null) — The Matrix transformation to be used on render of the IBitmapDrawable to the BitmapData.
|
|
rect:Rectangle (default = null) — The clipping Rectangle to be used on render of the IBitmapDrawable to the BitmapData.
|
|
colorTransform:ColorTransform (default = null) — The ColorTransform to be used on render of the IBitmapDrawable to the BitmapData.
|
|
blendMode:String (default = "normal") — The BlendMode to be used on render of the IBitmapDrawable to the BitmapData.
|
|
smoothing:Boolean (default = false) — Whether the BitmapData will be drawn with pixel smoothing.
|
| render | () | method |
public function render(bmd:BitmapData):voidRenders the DrawEffect on to the specified BitmapData.
Parametersbmd:BitmapData |