Package | com.greensock.data |
Class | public class ColorMatrixFilterVars |
Inheritance | ColorMatrixFilterVars FilterVars VarsCore flash.utils.Proxy |
Property | Defined by | ||
---|---|---|---|
addFilter : 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 | ||
index : int To define a particular index number in the target DisplayObject's filters Array for this filter, use index property.
| FilterVars | ||
matrix : Array | ColorMatrixFilterVars | ||
remove : Boolean To remove the filter after the tween has completed, set remove to true.
| FilterVars |
Property | Defined by | ||
---|---|---|---|
_ID_MATRIX : Array [static]
| ColorMatrixFilterVars | ||
_lumB : Number = 0.072169 [static]
| ColorMatrixFilterVars | ||
_lumG : Number = 0.715160 [static]
| ColorMatrixFilterVars | ||
_lumR : Number = 0.212671 [static]
| ColorMatrixFilterVars |
Method | Defined 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 | ||
create(vars:Object):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 |
Method | Defined by | ||
---|---|---|---|
hasProperty(name:*):Boolean
| VarsCore | ||
initEnumerables(nulls:Array, numbers:Array):void
| ColorMatrixFilterVars |
_ID_MATRIX | property |
protected static var _ID_MATRIX:Array
_lumB | property |
protected static var _lumB:Number = 0.072169
_lumG | property |
protected static var _lumG:Number = 0.715160
_lumR | property |
protected static var _lumR:Number = 0.212671
matrix | property |
public var matrix:Array
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 )
|
create | () | method |
public static function create(vars:Object):ColorMatrixFilterVars
Parameters
vars:Object |
ColorMatrixFilterVars |
initEnumerables | () | method |
protected override function initEnumerables(nulls:Array, numbers:Array):void
Parameters
nulls:Array |
|
numbers:Array |
setBrightness | () | method |
public function setBrightness(n:Number):void
Parameters
n:Number |
setColorize | () | method |
public function setColorize(color:uint, amount:Number = 1):void
Parameters
color:uint |
|
amount:Number (default = 1 )
|
setContrast | () | method |
public function setContrast(n:Number):void
Parameters
n:Number |
setHue | () | method |
public function setHue(n:Number):void
Parameters
n:Number |
setSaturation | () | method |
public function setSaturation(n:Number):void
Parameters
n:Number |
setThreshold | () | method |
public function setThreshold(n:Number):void
Parameters
n:Number |