Packagede.popforge.imageprocessing.filters
Classpublic class NativeFilter
ImplementsIFilter
SubclassesBlur, ColorMatrix, Convolution, DisplacementMap

The NativeFilter class applies a native filter like BlurFilter or ColorMatrixFilter to an Image object. Implementing a native filter is easier this way since the apply() function is always the same.

Supported formats:



Protected Properties
 PropertyDefined by
  filter : BitmapFilter
The native filter that will be overridden by a subclass of NativeFilter.
NativeFilter
Public Methods
 MethodDefined by
  
apply(image:Image):void
Applies the filter to the given Image object.
NativeFilter
  
toString():String
Builds and returns a string containing the name of the class.
NativeFilter
Property detail
filterproperty
protected var filter:BitmapFilter

The native filter that will be overridden by a subclass of NativeFilter.

Method detail
apply()method
public function apply(image:Image):void

Applies the filter to the given Image object.

Parameters
image:Image — The image that will be manipulated.
toString()method 
public function toString():String

Builds and returns a string containing the name of the class.

Returns
String — A string containing the name of the class.