java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | sofia.graphics.RepeatMode |
Defines how an animation repeats itself.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RepeatMode | NONE | The animation will not repeat; it will execute once from start to end. | |||||||||
RepeatMode | OSCILLATE | The animation will oscillate by executing from start to finish, then executing backward from end to start, and then executing again, until the animation is stopped (by calling Shape#stopAnimation()). | |||||||||
RepeatMode | REPEAT | The animation will repeat by executing from start to end, then instantaneously returning to the start and executing again, until the animation is stopped (by calling Shape#stopAnimation()). |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static RepeatMode | valueOf(String name) | ||||||||||
final static RepeatMode[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
The animation will not repeat; it will execute once from start to end.
The animation will oscillate by executing from start to finish, then executing backward from end to start, and then executing again, until the animation is stopped (by calling Shape#stopAnimation()).
The animation will repeat by executing from start to end, then instantaneously returning to the start and executing again, until the animation is stopped (by calling Shape#stopAnimation()).