| Package | de.popforge.imageprocessing.filters.distortion |
| Class | public final class Ripple |
| Inheritance | Ripple GeometricDisplacementMap |
Supported formats:
var filter: Ripple = new Ripple(); var video: WebCam = new WebCam( 160, 120 ); var image: Image = new Image( 160, 120, ImageFormat.RGB ); image.loadBitmapData( video.getCurrentFrame(), true ); filter.apply( image );
See also
| Method | Defined by | ||
|---|---|---|---|
|
Ripple(amplitudeX:Number = 16, amplitudeY:Number = 16, frequencyX:Number = .06125, frequencyY:Number = .06125, wrap:Boolean = true, interpolation:Class = null)
Creates a new Ripple object.
| Ripple | ||
![]() |
Applies the filter to the given Image object.
| GeometricDisplacementMap | |
|
toString():String
Builds and returns a string containing the name of the class.
| Ripple | ||
| Ripple | () | constructor |
public function Ripple(amplitudeX:Number = 16, amplitudeY:Number = 16, frequencyX:Number = .06125, frequencyY:Number = .06125, wrap:Boolean = true, interpolation:Class = null)Creates a new Ripple object.
ParametersamplitudeX:Number (default = 16) — Amplitude of the ripple in x direction.
|
|
amplitudeY:Number (default = 16) — Amplitude of the ripple in y direction.
|
|
frequencyX:Number (default = .06125) — Frequency of the ripple in x direction.
|
|
frequencyY:Number (default = .06125) — Frequency of the ripple in y direction.
|
|
wrap:Boolean (default = true) — true if pixels that go over the edge should be wrapped around.
|
|
interpolation:Class (default = null) — The interpolation method to use. Default is Interpolation.BILINEAR.
|
| toString | () | method |
public override function toString():StringBuilds and returns a string containing the name of the class.
ReturnsString — A string containing the name of the class.
|