| Package | fl.motion |
| Class | public class ColorMatrix |
| Inheritance | ColorMatrix DynamicMatrix Object |
| Language Version: | ActionScript 3.0 |
| Product Version: | Flash CS4 |
| Runtime Versions: | Flash Player 9, AIR 1.0 |
See also
| Method | Defined By | ||
|---|---|---|---|
Calculates and stores color matrixes based on given values. | ColorMatrix | ||
![]() |
Adds the current matrix with a specified matrix. | DynamicMatrix | |
Calculates and returns a flat array of 20 numerical values representing the four matrixes set in this object. | ColorMatrix | ||
![]() |
Returns the number of rows in the current matrix. | DynamicMatrix | |
![]() |
Returns the value at the specified zero-based row and column in the current matrix. | DynamicMatrix | |
![]() |
Returns the number of columns in the current matrix. | DynamicMatrix | |
![]() |
Indicates whether an object has a specified property defined. | Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
![]() |
Sets the current matrix to an identity matrix. | DynamicMatrix | |
![]() |
Sets all values in the current matrix to zero. | DynamicMatrix | |
![]() |
Multiplies the current matrix with a specified matrix; and either
appends or prepends the specified matrix. | DynamicMatrix | |
![]() |
Multiplies a number with each item in the matrix and stores the results in
the current matrix. | DynamicMatrix | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
Calculates and stores a brightness matrix based on the given value. | ColorMatrix | ||
Calculates and stores a contrast matrix based on the given value. | ColorMatrix | ||
Calculates and stores a hue matrix based on the given value. | ColorMatrix | ||
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
Calculates and stores a saturation matrix based on the given value. | ColorMatrix | ||
![]() |
Sets the value at a specified zero-based row and column in the current matrix. | DynamicMatrix | |
![]() |
Returns the string representation of the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object | |
| ColorMatrix | () | Constructor |
public function ColorMatrix()| Language Version: | ActionScript 3.0 |
| Product Version: | Flash CS4 |
| Runtime Versions: | Flash Player 9, AIR 1.0 |
Calculates and stores color matrixes based on given values.
See also
| GetFlatArray | () | method |
public function GetFlatArray():Array| Language Version: | ActionScript 3.0 |
| Product Version: | Flash CS4 |
| Runtime Versions: | Flash Player 9, AIR 1.0 |
Calculates and returns a flat array of 20 numerical values representing the four matrixes set in this object.
ReturnsArray — An array of 20 items.
|
| SetBrightnessMatrix | () | method |
public function SetBrightnessMatrix(value:Number):void| Language Version: | ActionScript 3.0 |
| Product Version: | Flash CS4 |
| Runtime Versions: | Flash Player 9, AIR 1.0 |
Calculates and stores a brightness matrix based on the given value.
Parameters
value:Number — 0-255
|
| SetContrastMatrix | () | method |
public function SetContrastMatrix(value:Number):void| Language Version: | ActionScript 3.0 |
| Product Version: | Flash CS4 |
| Runtime Versions: | Flash Player 9, AIR 1.0 |
Calculates and stores a contrast matrix based on the given value.
Parameters
value:Number — 0-255
|
| SetHueMatrix | () | method |
public function SetHueMatrix(angle:Number):void| Language Version: | ActionScript 3.0 |
| Product Version: | Flash CS4 |
| Runtime Versions: | Flash Player 9, AIR 1.0 |
Calculates and stores a hue matrix based on the given value.
Parameters
angle:Number — 0-255
|
| SetSaturationMatrix | () | method |
public function SetSaturationMatrix(value:Number):void| Language Version: | ActionScript 3.0 |
| Product Version: | Flash CS4 |
| Runtime Versions: | Flash Player 9, AIR 1.0 |
Calculates and stores a saturation matrix based on the given value.
Parameters
value:Number — 0-255
|