Package | gs.plugins |
Class | public class ColorMatrixFilterPlugin |
Inheritance | ColorMatrixFilterPlugin ![]() ![]() |
Property | Defined by | ||
---|---|---|---|
changeFactor : Number [write-only]
| ColorMatrixFilterPlugin | ||
![]() | onComplete : Function
Called when the tween is complete.
| TweenPlugin | |
![]() | overwriteProps : Array
Array containing the names of the properties that should be overwritten in OverwriteManager's
AUTO mode.
| TweenPlugin | |
![]() | propName : String
Name of the special property that the plugin should intercept/handle
| TweenPlugin | |
![]() | round : Boolean
If the values should be rounded to the nearest integer, set this to true.
| TweenPlugin |
Property | Defined by | ||
---|---|---|---|
![]() | _changeFactor : Number = 0 | TweenPlugin | |
![]() | _filter : BitmapFilter | FilterPlugin | |
_idMatrix : Array [static]
| ColorMatrixFilterPlugin | ||
![]() | _index : int | FilterPlugin | |
_lumB : Number = 0.072169 [static]
| ColorMatrixFilterPlugin | ||
_lumG : Number = 0.715160 [static]
| ColorMatrixFilterPlugin | ||
_lumR : Number = 0.212671 [static]
| ColorMatrixFilterPlugin | ||
_matrix : Array | ColorMatrixFilterPlugin | ||
_matrixTween : EndArrayPlugin | ColorMatrixFilterPlugin | ||
![]() | _remove : Boolean | FilterPlugin | |
![]() | _target : Object | FilterPlugin | |
![]() | _tweens : Array | TweenPlugin | |
![]() | _type : Class | FilterPlugin |
Method | Defined by | ||
---|---|---|---|
ColorMatrixFilterPlugin | |||
![]() |
activate($plugins:Array):Boolean
[static]
Handles integrating the plugin into the GreenSock tweening platform.
| TweenPlugin | |
applyMatrix($m:Array, $m2:Array):Array
[static]
| ColorMatrixFilterPlugin | ||
colorize($m:Array, $color:Number, $amount:Number = 1):Array
[static]
| ColorMatrixFilterPlugin | ||
![]() |
killProps($lookup:Object):void
Gets called on plugins that have multiple overwritable properties by OverwriteManager when
in AUTO mode.
| TweenPlugin | |
![]() |
onCompleteTween():void
| FilterPlugin | |
ColorMatrixFilterPlugin | |||
setBrightness($m:Array, $n:Number):Array
[static]
| ColorMatrixFilterPlugin | ||
setContrast($m:Array, $n:Number):Array
[static]
| ColorMatrixFilterPlugin | ||
setHue($m:Array, $n:Number):Array
[static]
| ColorMatrixFilterPlugin | ||
setSaturation($m:Array, $n:Number):Array
[static]
| ColorMatrixFilterPlugin | ||
setThreshold($m:Array, $n:Number):Array
[static]
| ColorMatrixFilterPlugin |
Constant | Defined by | ||
---|---|---|---|
API : Number = 1.0 [static]
| ColorMatrixFilterPlugin | ||
VERSION : Number = 1.1 [static]
| ColorMatrixFilterPlugin |
changeFactor | property |
changeFactor:Number
[write-only]Implementation
public function set changeFactor(value:Number):void
_idMatrix | property |
protected static var _idMatrix: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 |
protected var _matrix:Array
_matrixTween | property |
protected var _matrixTween:EndArrayPlugin
ColorMatrixFilterPlugin | () | constructor |
public function ColorMatrixFilterPlugin()
Init Parameters
applyMatrix | () | method |
public static function applyMatrix($m:Array, $m2:Array):Array
Parameters
$m:Array |
|
$m2:Array |
Array |
colorize | () | method |
public static function colorize($m:Array, $color:Number, $amount:Number = 1):Array
Parameters
$m:Array |
|
$color:Number |
|
$amount:Number (default = 1 )
|
Array |
onInitTween | () | method |
public override function onInitTween($target:Object, $value:TweenLite, $tween:*):Boolean
Parameters
$target:Object |
|
$value:TweenLite |
|
$tween:* |
Boolean |
setBrightness | () | method |
public static function setBrightness($m:Array, $n:Number):Array
Parameters
$m:Array |
|
$n:Number |
Array |
setContrast | () | method |
public static function setContrast($m:Array, $n:Number):Array
Parameters
$m:Array |
|
$n:Number |
Array |
setHue | () | method |
public static function setHue($m:Array, $n:Number):Array
Parameters
$m:Array |
|
$n:Number |
Array |
setSaturation | () | method |
public static function setSaturation($m:Array, $n:Number):Array
Parameters
$m:Array |
|
$n:Number |
Array |
setThreshold | () | method |
public static function setThreshold($m:Array, $n:Number):Array
Parameters
$m:Array |
|
$n:Number |
Array |
API | constant |
public static const API:Number = 1.0
VERSION | constant |
public static const VERSION:Number = 1.1