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

The Corona class is a filter that renders a corona/particle.

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

Supported formats:


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

See also

apocalypse inc.


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

Creates a new Corona object.

Parameters
scale:int (default = 0xff) — The scale of the rendered corona in releation 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.