Packagede.popforge.imageprocessing.filters.render
Classpublic final class Tile
ImplementsIFilter

The Tile class is a filter that tiles an image.

Supported formats:


Example
  
  var filter: Tile = new Tile();
  
  var image: Image = new Image( 160, 120, ImageFormat.RGB );
  
  filter.apply( image );
  



Public Methods
 MethodDefined by
  
Tile(iterations:int = 1, smoothing:Boolean = false)
Creates a new Tile object.
Tile
  
apply(image:Image):void
Applies the filter to the given Image object.
Tile
  
toString():String
Builds and returns a string containing the name of the class.
Tile
Constructor detail
Tile()constructor
public function Tile(iterations:int = 1, smoothing:Boolean = false)

Creates a new Tile object.

Parameters
iterations:int (default = 1) — Number of times the image should be tiled.
 
smoothing:Boolean (default = false)true if tiles should be smoothed when scaling them.
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.