Package | fl.motion |
Class | public class AdjustColor |
Inheritance | AdjustColor Object |
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9, AIR 1.0 |
Related API Elements
Public Properties
Property | Defined By | ||
---|---|---|---|
brightness : Number [write-only]
Sets the brightness of the AdjustColor filter. | AdjustColor | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
contrast : Number [write-only]
Sets the contrast of the AdjustColor filter. | AdjustColor | ||
hue : Number [write-only]
Sets the hue of the AdjustColor filter. | AdjustColor | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
saturation : Number [write-only]
Sets the saturation of the AdjustColor filter. | AdjustColor |
Public Methods
Method | Defined By | ||
---|---|---|---|
The AdjustColor class defines various color properties to support the ColorMatrixFilter. | AdjustColor | ||
Verifies if all four AdjustColor properties are set. | AdjustColor | ||
Returns the flat array of values for all four properties. | AdjustColor | ||
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 | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Property Detail
brightness | property |
contrast | property |
hue | property |
saturation | property |
Constructor Detail
AdjustColor | () | Constructor |
public function AdjustColor()
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9, AIR 1.0 |
The AdjustColor class defines various color properties to support the ColorMatrixFilter.
Related API Elements
Method Detail
AllValuesAreSet | () | method |
public function AllValuesAreSet():Boolean
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9, AIR 1.0 |
Verifies if all four AdjustColor properties are set.
ReturnsBoolean — A Boolean value that is true if all four AdjustColor properties have been set, false otherwise.
|
CalculateFinalFlatArray | () | method |
public function CalculateFinalFlatArray():Array
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9, AIR 1.0 |
Returns the flat array of values for all four properties.
ReturnsArray — An array of 20 numerical values representing all four AdjustColor properties
to use with the flash.filters.ColorMatrixFilter class.
|
Related API Elements
Mon Nov 28 2011, 06:48 AM -08:00