class
Animation
createWithKeyFrames(animationKeyFrames:AnimationKeyFrames, target::Dynamic, options:AnimationOptions = null):Animation
currentKeyFrame:KeyFrame
Returns the current key frame running in the animation.
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.
had already been playing for N seconds.
direction:AnimationDirection
Specifies whether an animation should be played forwards, backwards or in alternate cycles.
@see haxe.ui.constants.AnimationDirection
@see haxe.ui.constants.AnimationDirection
duration:Float
Defines how long time an animation should take to complete.
easingFunction:
fillMode:AnimationFillMode
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
@see haxe.ui.constants.AnimationFillMode
iterationCount:Int
Specifies the number of times an animation should run before it stops. For an infinite loop set to -1.
keyframeCount:Int
Specifies the total keyframes count in the animation.
name:String
The name of the animation.
running:Bool
Returns if the animation is running.
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.