| Package | de.popforge.imageprocessing.filters |
| Class | public final class FilterQueue |
| Implements | IFilter |
This class features also a debug output which can be used to test the speed of a filter very easy.
| Method | Defined by | ||
|---|---|---|---|
|
Creates a FilterQueue object.
| FilterQueue | ||
|
Adds a filter to the queue.
| FilterQueue | ||
|
Applies all filters in given order to the given Image object.
| FilterQueue | ||
|
disableOutput():void
Disables debug output.
| FilterQueue | ||
|
enableOutput(textField:TextField):void
Enables debug output.
| FilterQueue | ||
|
removeFilter(id:Number):void
Removes a filter from the queue.
| FilterQueue | ||
|
toString():String
Builds and returns a string containing the name of the class.
| FilterQueue | ||
| FilterQueue | () | constructor |
public function FilterQueue()Creates a FilterQueue object.
| addFilter | () | method |
public function addFilter(filter:IFilter):voidAdds a filter to the queue.
Parametersfilter:IFilter — The filter that will be added to the queue.
|
| apply | () | method |
public function apply(image:Image):void
Applies all filters in given order to the given Image object.
If enableOutput has been called the given TextField will be filled with some debug output.
image:Image — The image that will be manipulated.
|
| disableOutput | () | method |
public function disableOutput():voidDisables debug output.
| enableOutput | () | method |
public function enableOutput(textField:TextField):voidEnables debug output.
ParameterstextField:TextField — The TextField that will be filled with the output.
|
| removeFilter | () | method |
public function removeFilter(id:Number):voidRemoves a filter from the queue.
Parametersid:Number — The position of the filter you want to remove starting from 0.
|
| 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.
|