Package | gs.plugins |
Class | public class BezierPlugin |
Inheritance | BezierPlugin ![]() |
Subclasses | BezierThroughPlugin |
Property | Defined by | ||
---|---|---|---|
changeFactor : Number [write-only]
| BezierPlugin | ||
![]() | 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 | ||
---|---|---|---|
_beziers : Object | BezierPlugin | ||
![]() | _changeFactor : Number = 0 | TweenPlugin | |
_future : Object | BezierPlugin | ||
_orient : Boolean | BezierPlugin | ||
_orientData : Array | BezierPlugin | ||
_target : Object | BezierPlugin | ||
![]() | _tweens : Array | TweenPlugin |
Method | Defined by | ||
---|---|---|---|
BezierPlugin
() | BezierPlugin | ||
![]() |
activate($plugins:Array):Boolean
[static]
Handles integrating the plugin into the GreenSock tweening platform.
| TweenPlugin | |
killProps($lookup:Object):void
| BezierPlugin | ||
BezierPlugin | |||
parseBeziers($props:Object, $through:Boolean = false):Object
[static]
| BezierPlugin |
Method | Defined by | ||
---|---|---|---|
![]() |
addTween($object:Object, $propName:String, $start:Number, $end:String, $overwriteProp:* = null):void
Offers a simple way to add tweening values to the plugin.
| TweenPlugin | |
BezierPlugin | |||
![]() |
updateTweens($changeFactor:Number):void
Updates all the tweens in the _tweens Array.
| TweenPlugin |
Constant | Defined by | ||
---|---|---|---|
API : Number = 1.0 [static]
| BezierPlugin | ||
VERSION : Number = 1.01 [static]
| BezierPlugin |
Constant | Defined by | ||
---|---|---|---|
_RAD2DEG : Number = 57.29577951308232 [static]
| BezierPlugin |
_beziers | property |
protected var _beziers:Object
changeFactor | property |
changeFactor:Number
[write-only]Implementation
public function set changeFactor(value:Number):void
_future | property |
protected var _future:Object
_orient | property |
protected var _orient:Boolean
_orientData | property |
protected var _orientData:Array
_target | property |
protected var _target:Object
BezierPlugin | () | constructor |
public function BezierPlugin()
Init Parameters
init | () | method |
protected function init($tween:TweenLite, $beziers:Array, $through:Boolean):void
Parameters
$tween:TweenLite |
|
$beziers:Array |
|
$through:Boolean |
killProps | () | method |
public override function killProps($lookup:Object):void
Parameters
$lookup:Object |
onInitTween | () | method |
public override function onInitTween($target:Object, $value:TweenLite, $tween:*):Boolean
Parameters
$target:Object |
|
$value:TweenLite |
|
$tween:* |
Boolean |
parseBeziers | () | method |
public static function parseBeziers($props:Object, $through:Boolean = false):Object
Parameters
$props:Object |
|
$through:Boolean (default = false )
|
Object |
API | constant |
public static const API:Number = 1.0
_RAD2DEG | constant |
protected static const _RAD2DEG:Number = 57.29577951308232
VERSION | constant |
public static const VERSION:Number = 1.01