Package | com.greensock.data |
Class | public class ColorTransformVars |
Inheritance | ColorTransformVars VarsCore flash.utils.Proxy |
Property | Defined 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 |
Method | Defined 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 |
Method | Defined by | ||
---|---|---|---|
hasProperty(name:*):Boolean
| VarsCore | ||
initEnumerables(nulls:Array, numbers:Array):void
| ColorTransformVars |
alphaMultiplier | property |
public var alphaMultiplier:Number
alphaOffset | property |
public var alphaOffset:Number
blueMultiplier | property |
public var blueMultiplier:Number
blueOffset | property |
public var blueOffset:Number
brightness | property |
public var brightness:Number
exposure | property |
public var exposure:Number
greenMultiplier | property |
public var greenMultiplier:Number
greenOffset | property |
public var greenOffset:Number
redMultiplier | property |
public var redMultiplier:Number
redOffset | property |
public var redOffset:Number
tint | property |
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
tintAmount | property |
public var tintAmount:Number
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 |
create | () | method |
public static function create(vars:Object):ColorTransformVars
Parameters
vars:Object |
ColorTransformVars |
initEnumerables | () | method |
protected override function initEnumerables(nulls:Array, numbers:Array):void
Parameters
nulls:Array |
|
numbers:Array |