An interpolation method is able to return a new color value based on given channel,
x and
y position.
public function getColor(x:Number, y:Number):int
Calculates a new color based on given x and y position.
Parameters
| x:Number — An x coordinate as a floating point number.
|
| |
| y:Number — A y coordinate as a floatng point number.
|
Returns
| int — A new color value in the range from 0x00 to 0xff.
|
public function setChannel(channel:BitmapData):void
Changes the active channel that the interpolation method uses.
Parameters
| channel:BitmapData — The new channel the interpolation method will use when it calculates a new color value.
|
Built with love by Joa Ebert - http://blog.je2050.de/
Do Feb 8 2007, 1:02 AM GMT+01:00