class
Animation



static
createWithKeyFrames(animationKeyFrames:AnimationKeyFrames, target::Dynamic, options:AnimationOptions = null):Animation


read-only
currentKeyFrame:KeyFrame
Returns the current key frame running in the animation.
read-only
delay:Float
Specifies a delay for the start of an animation in seconds. If using negative values, the animation will start as if it
had already been playing for N seconds.
read-only
direction:AnimationDirection
Specifies whether an animation should be played forwards, backwards or in alternate cycles.

@see haxe.ui.constants.AnimationDirection
read-only
duration:Float
Defines how long time an animation should take to complete.
read-only
easingFunction:
Specifies the speed curve of the animation.

@see haxe.ui.styles.EasingFunction
read-only
Specifies a style for the target when the animation is not playing (befores it starts, after it ends, or both).

@see haxe.ui.constants.AnimationFillMode
read-only
iterationCount:Int
Specifies the number of times an animation should run before it stops. For an infinite loop set to -1.
read-only
keyframeCount:Int
Specifies the total keyframes count in the animation.
name:String
The name of the animation.
read-only
running:Bool
Returns if the animation is running.
read-only
target::Dynamic
Specifies the target to apply the animation.


run(onFinish:():Void = null):Void
Starts to run the animation.
stop():Void
Stops the animation if it is running.