| Package | de.popforge.imageprocessing.filters.distortion |
| Class | public class GeometricDisplacementMap |
| Implements | IFilter |
| Subclasses | Ripple, Spherize, Twirl |
The function of this class is to apply the following steps:
Supported formats:
| Method | Defined by | ||
|---|---|---|---|
|
GeometricDisplacementMap(displacementMap:GeometricMap, interpolationMethod:Class = null, wrap:Boolean = false)
Creates a new GeometritcDisplacementMap object.
| GeometricDisplacementMap | ||
|
Applies the filter to the given Image object.
| GeometricDisplacementMap | ||
|
toString():String
Builds and returns a string containing the name of the class.
| GeometricDisplacementMap | ||
| GeometricDisplacementMap | () | constructor |
public function GeometricDisplacementMap(displacementMap:GeometricMap, interpolationMethod:Class = null, wrap:Boolean = false)Creates a new GeometritcDisplacementMap object.
ParametersdisplacementMap:GeometricMap — The type of displacement map that should be used.
|
|
interpolationMethod:Class (default = null) — The interpolation method to use. Default is Interpolation.BILINEAR.
|
|
wrap:Boolean (default = false) — true if pixels that go over the edge should be wrapped around.
|
| apply | () | method |
public function apply(image:Image):voidApplies the filter to the given Image object.
Parametersimage:Image — The image that will be manipulated.
|
| toString | () | method |
public function toString():StringBuilds and returns a string containing the name of the class.
ReturnsString — A string containing the name of the class.
|