| Package | com.flashdynamix.motion.effects |
| Class | public class BulgeEffect |
| Inheritance | BulgeEffect DisplacementEffect FilterEffect flash.utils.Proxy |
| Implements | IEffect |
| Property | Defined by | ||
|---|---|---|---|
| blur : Number = 40
How much blur is applied to the bulge effect.
| BulgeEffect | ||
| bmd : BitmapData
The BitmapData to be applied a bulge effect.
| BulgeEffect | ||
| dent : Boolean
Sets and returns whether the bulge effect is a dent or an indent.
| BulgeEffect | ||
![]() | filter : BitmapFilter
The BitmapFilter to apply onto the BitmapData.
| FilterEffect | |
![]() | mapBmd : BitmapData
The displacement BitmapData to be used.
| DisplacementEffect | |
![]() | mapPoint : Point
The position of the displacement mapBmd.
| DisplacementEffect | |
![]() | pt : Point
The Point from which to apply the BitmapFilter
| FilterEffect | |
| x : Number = 0
The bulge's x position in pixels.
| BulgeEffect | ||
| y : Number = 0
The bulge's y position in pixels.
| BulgeEffect | ||
| Method | Defined by | ||
|---|---|---|---|
|
BulgeEffect(bmd:BitmapData, dent:Boolean = true, scaleX:Number = 20, scaleY:Number = 20)
| BulgeEffect | ||
|
render(bmd:BitmapData):void
Renders the BulgeEffect to the specified BitmapData.
| BulgeEffect | ||
| blur | property |
public var blur:Number = 40How much blur is applied to the bulge effect.
| bmd | property |
public var bmd:BitmapDataThe BitmapData to be applied a bulge effect.
| dent | property |
dent:Boolean [read-write]Sets and returns whether the bulge effect is a dent or an indent.
Implementation public function get dent():Boolean
public function set dent(value:Boolean):void
| x | property |
public var x:Number = 0The bulge's x position in pixels.
| y | property |
public var y:Number = 0The bulge's y position in pixels.
| BulgeEffect | () | constructor |
public function BulgeEffect(bmd:BitmapData, dent:Boolean = true, scaleX:Number = 20, scaleY:Number = 20)Parameters
bmd:BitmapData — The BitmapData to which the bulge effect is applied.
|
|
dent:Boolean (default = true) — The amount of scaleX to be applied onto the bulge effect.
|
|
scaleX:Number (default = 20) — The amount of scaleY to be applied onto the bulge effect.
|
|
scaleY:Number (default = 20) |
| render | () | method |
public override function render(bmd:BitmapData):voidRenders the BulgeEffect to the specified BitmapData.
Parametersbmd:BitmapData |