Packagecom.greensock.data
Classpublic class ColorMatrixFilterVars
InheritanceColorMatrixFilterVars Inheritance FilterVars Inheritance VarsCore Inheritance flash.utils.Proxy



Public Properties
 PropertyDefined by
 InheritedaddFilter : Boolean
To force TweenLite/Max to create a new filter even if there's a filter of the same kind already applied to a DisplayObject, set addFilter to true.
FilterVars
 Inheritedindex : int
To define a particular index number in the target DisplayObject's filters Array for this filter, use index property.
FilterVars
  matrix : Array
ColorMatrixFilterVars
 Inheritedremove : Boolean
To remove the filter after the tween has completed, set remove to true.
FilterVars
Protected Properties
 PropertyDefined by
  _ID_MATRIX : Array
[static]
ColorMatrixFilterVars
  _lumB : Number = 0.072169
[static]
ColorMatrixFilterVars
  _lumG : Number = 0.715160
[static]
ColorMatrixFilterVars
  _lumR : Number = 0.212671
[static]
ColorMatrixFilterVars
Public Methods
 MethodDefined by
  
ColorMatrixFilterVars(colorize:uint = 0xFFFFFF, amount:Number = 1, saturation:Number = 1, contrast:Number = 1, brightness:Number = 1, hue:Number = 0, threshold:Number = -1, remove:Boolean = false, index:int = -1, addFilter:Boolean = false)
ColorMatrixFilterVars
  
[static]
ColorMatrixFilterVars
  
setBrightness(n:Number):void
ColorMatrixFilterVars
  
setColorize(color:uint, amount:Number = 1):void
ColorMatrixFilterVars
  
setContrast(n:Number):void
ColorMatrixFilterVars
  
setHue(n:Number):void
ColorMatrixFilterVars
  
setSaturation(n:Number):void
ColorMatrixFilterVars
  
setThreshold(n:Number):void
ColorMatrixFilterVars
Protected Methods
 MethodDefined by
 Inherited
hasProperty(name:*):Boolean
VarsCore
  
initEnumerables(nulls:Array, numbers:Array):void
ColorMatrixFilterVars
Property detail
_ID_MATRIXproperty
protected static var _ID_MATRIX:Array
_lumBproperty 
protected static var _lumB:Number = 0.072169
_lumGproperty 
protected static var _lumG:Number = 0.715160
_lumRproperty 
protected static var _lumR:Number = 0.212671
matrixproperty 
public var matrix:Array
Constructor detail
ColorMatrixFilterVars()constructor
public function ColorMatrixFilterVars(colorize:uint = 0xFFFFFF, amount:Number = 1, saturation:Number = 1, contrast:Number = 1, brightness:Number = 1, hue:Number = 0, threshold:Number = -1, remove:Boolean = false, index:int = -1, addFilter:Boolean = false)Parameters
colorize:uint (default = 0xFFFFFF)
 
amount:Number (default = 1)
 
saturation:Number (default = 1)
 
contrast:Number (default = 1)
 
brightness:Number (default = 1)
 
hue:Number (default = 0)
 
threshold:Number (default = -1)
 
remove:Boolean (default = false)
 
index:int (default = -1)
 
addFilter:Boolean (default = false)
Method detail
create()method
public static function create(vars:Object):ColorMatrixFilterVarsParameters
vars:Object

Returns
ColorMatrixFilterVars
initEnumerables()method 
protected override function initEnumerables(nulls:Array, numbers:Array):voidParameters
nulls:Array
 
numbers:Array
setBrightness()method 
public function setBrightness(n:Number):voidParameters
n:Number
setColorize()method 
public function setColorize(color:uint, amount:Number = 1):voidParameters
color:uint
 
amount:Number (default = 1)
setContrast()method 
public function setContrast(n:Number):voidParameters
n:Number
setHue()method 
public function setHue(n:Number):voidParameters
n:Number
setSaturation()method 
public function setSaturation(n:Number):voidParameters
n:Number
setThreshold()method 
public function setThreshold(n:Number):voidParameters
n:Number