API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class NodeTween

Package | com.zavoo.svg.utils
Class | public class NodeTween

Public Methods

| Method | Defined by
--- | --- | ---
|  | NodeTween(target:SVGNode, field:String, delay:Number, duration:Number, fromVal:Number, toVal:Number, repeat:int) | NodeTween
|  | addTween(target:SVGNode, field:String, delay:Number, duration:Number, fromVal:Number, toVal:Number, repeat:int):NodeTween [static] | NodeTween
|  | isTweening(target:SVGNode):Boolean [static] | NodeTween
|  | isTweeningField(target:SVGNode, field:String):Boolean [static] | NodeTween
|  | removeTween(target:SVGNode, field:String):void [static] | NodeTween
|  | removeTweens(target:SVGNode):void [static] | NodeTween

Public Constants

| Constant | Defined by
--- | --- | ---
|  | REPEAT_INFINITE : int = -1 [static] | NodeTween

Constructor detail

NodeTween | () | constructor

`public function NodeTween(target:SVGNode, field:String, delay:Number, duration:Number, fromVal:Number, toVal:Number, repeat:int)`Parameters

| `target:SVGNode`
| `field:String`
| `delay:Number`
| `duration:Number`
| `fromVal:Number`
| `toVal:Number`
| `repeat:int`

Method detail

addTween | () | method

`public static function addTween(target:SVGNode, field:String, delay:Number, duration:Number, fromVal:Number, toVal:Number, repeat:int):NodeTween` Parameters

| `target:SVGNode`
| `field:String`
| `delay:Number`
| `duration:Number`
| `fromVal:Number`
| `toVal:Number`
| `repeat:int`

Returns

| `NodeTween`

isTweening | () | method |

`public static function isTweening(target:SVGNode):Boolean` Parameters

| `target:SVGNode`

Returns

| `Boolean`

isTweeningField | () | method |

`public static function isTweeningField(target:SVGNode, field:String):Boolean` Parameters

| `target:SVGNode`
| `field:String`

Returns

| `Boolean`

removeTween | () | method |

`public static function removeTween(target:SVGNode, field:String):void` Parameters

| `target:SVGNode`
| `field:String`

removeTweens | () | method |

`public static function removeTweens(target:SVGNode):void` Parameters

| `target:SVGNode`

Constant detail

REPEAT_INFINITE | constant

`public static const REPEAT_INFINITE:int = -1`