com.haxepunk.tweens.misc.AngleTween

type
class
extends
com.haxepunk.Tween
Tweens from one angle to another.

Constructor

parameters
complete Optional completion callback.
type Tween type.
Constructor.

Instance Variables hide inherited show inherited

active : Bool

inherited from com.haxepunk.Tween

angle : Float

The current value.

percent(getPercent,setPercent) : Float

inherited from com.haxepunk.Tween

scale(getScale,null) : Float

inherited from com.haxepunk.Tween

Instance Methods hide inherited show inherited

DispatchCompleteEvent() : Void

DispatchIOErrorEvent() : Void

addEventListener(type : String, listener : Function, ?useCapture : Bool, ?priority : Int, ?useWeakReference : Bool) : Void

cancel() : Void

inherited from com.haxepunk.Tween
Immediately stops the Tween and removes it from its Tweener without calling the complete callback.

dispatchEvent(event : Event) : Bool

hasEventListener(type : String) : Bool

removeEventListener(type : String, listener : Function, ?capture : Bool) : Void

start() : Void

inherited from com.haxepunk.Tween
Starts the Tween, or restarts it if it's currently running.

toString() : String

tween(fromAngle : Float, toAngle : Float, duration : Float, ?ease : com.haxepunk.utils.EaseFunction) : Void

parameters
fromAngle Start angle.
toAngle End angle.
duration Duration of the tween.
ease Optional easer function.
Tweens the value from one angle to another.

willTrigger(type : String) : Bool