Packagede.popforge.imageprocessing.filters.render
Classpublic class MakeTileable
ImplementsIFilter

The MakeTileable class is a filter that makes an image tileable using scaled inverse mapping.

This filter is based on a technique from toxie^ainc. and the C++ implementation from Hopper.

Supported formats:


Example
  
  var mandelbrot: Mandelbrot = new Mandelbrot( 20, 16, 28 );
  var filter: MakeTileable = new MakeTileable();
  
  var image: Image = new Image( 160, 120, ImageFormat.RGB );
  
  mandelbrot.apply( image );
  filter.apply( image );
  

See also

apocalypse inc.


Public Methods
 MethodDefined by
  
MakeTileable(strength:int = 64)
Creates a new MakeTileable object.
MakeTileable
  
apply(image:Image):void
Applies the filter to the given Image object.
MakeTileable
  
toString():String
Builds and returns a string containing the name of the class.
MakeTileable
Constructor detail
MakeTileable()constructor
public function MakeTileable(strength:int = 64)

Creates a new MakeTileable object.

Parameters
strength:int (default = 64) — The strength of the filter in relation to the image size.
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.