Packagecom.greensock.data
Classpublic class ColorTransformVars
InheritanceColorTransformVars Inheritance VarsCore Inheritance flash.utils.Proxy



Public Properties
 PropertyDefined by
  alphaMultiplier : Number
ColorTransformVars
  alphaOffset : Number
ColorTransformVars
  blueMultiplier : Number
ColorTransformVars
  blueOffset : Number
ColorTransformVars
  brightness : Number
ColorTransformVars
  exposure : Number
ColorTransformVars
  greenMultiplier : Number
ColorTransformVars
  greenOffset : Number
ColorTransformVars
  redMultiplier : Number
ColorTransformVars
  redOffset : Number
ColorTransformVars
  tint : uint
To change a DisplayObject's tint, set this to the hex value of the color you'd like the DisplayObject to end up at(or begin at if you're using TweenLite.from()).
ColorTransformVars
  tintAmount : Number
ColorTransformVars
Public Methods
 MethodDefined by
  
ColorTransformVars(tint:Number, tintAmount:Number, exposure:Number, brightness:Number, redMultiplier:Number, greenMultiplier:Number, blueMultiplier:Number, alphaMultiplier:Number, redOffset:Number, greenOffset:Number, blueOffset:Number, alphaOffset:Number)
ColorTransformVars
  
create(vars:Object):ColorTransformVars
[static]
ColorTransformVars
Protected Methods
 MethodDefined by
 Inherited
hasProperty(name:*):Boolean
VarsCore
  
initEnumerables(nulls:Array, numbers:Array):void
ColorTransformVars
Property detail
alphaMultiplierproperty
public var alphaMultiplier:Number
alphaOffsetproperty 
public var alphaOffset:Number
blueMultiplierproperty 
public var blueMultiplier:Number
blueOffsetproperty 
public var blueOffset:Number
brightnessproperty 
public var brightness:Number
exposureproperty 
public var exposure:Number
greenMultiplierproperty 
public var greenMultiplier:Number
greenOffsetproperty 
public var greenOffset:Number
redMultiplierproperty 
public var redMultiplier:Number
redOffsetproperty 
public var redOffset:Number
tintproperty 
tint:uint  [read-write]

To change a DisplayObject's tint, set this to the hex value of the color you'd like the DisplayObject to end up at(or begin at if you're using TweenLite.from()). An example hex value would be 0xFF0000. If you'd like to remove the tint from a DisplayObject, use the removeTint special property.

Implementation
    public function get tint():uint
    public function set tint(value:uint):void
tintAmountproperty 
public var tintAmount:Number
Constructor detail
ColorTransformVars()constructor
public function ColorTransformVars(tint:Number, tintAmount:Number, exposure:Number, brightness:Number, redMultiplier:Number, greenMultiplier:Number, blueMultiplier:Number, alphaMultiplier:Number, redOffset:Number, greenOffset:Number, blueOffset:Number, alphaOffset:Number)Parameters
tint:Number
 
tintAmount:Number
 
exposure:Number
 
brightness:Number
 
redMultiplier:Number
 
greenMultiplier:Number
 
blueMultiplier:Number
 
alphaMultiplier:Number
 
redOffset:Number
 
greenOffset:Number
 
blueOffset:Number
 
alphaOffset:Number
Method detail
create()method
public static function create(vars:Object):ColorTransformVarsParameters
vars:Object

Returns
ColorTransformVars
initEnumerables()method 
protected override function initEnumerables(nulls:Array, numbers:Array):voidParameters
nulls:Array
 
numbers:Array