| Package | de.popforge.imageprocessing.filters.color |
| Class | public class Grayscale |
| Implements | IFilter |
| Subclasses | GrayscaleBT709, GrayscaleRMY, GrayscaleY |
Supported formats:
This is a conversion filter so there are no supported formats.
| Method | Defined by | ||
|---|---|---|---|
|
Grayscale(redMultiplier:Number, greenMultiplier:Number, blueMultiplier:Number)
Creates a new Grayscale object with given multipliers.
| Grayscale | ||
|
Applies the filter to the given Image object.
| Grayscale | ||
|
toString():String
Builds and returns a string containing the name of the class.
| Grayscale | ||
| Grayscale | () | constructor |
public function Grayscale(redMultiplier:Number, greenMultiplier:Number, blueMultiplier:Number)Creates a new Grayscale object with given multipliers.
ParametersredMultiplier:Number — The red multiplier.
|
|
greenMultiplier:Number — The green multiplier.
|
|
blueMultiplier:Number — The blue multiplier.
|
| apply | () | method |
public function apply(image:Image):voidApplies the filter to the given Image object.
Parametersimage:Image — The image that will be manipulated.
|
| toString | () | method |
public function toString():StringBuilds and returns a string containing the name of the class.
ReturnsString — A string containing the name of the class.
|