Artenus 2D Framework
Artenus Reference
Animation trends that specify how the animation is repeated. The default is LOOP.
public final enum Trends
extends Enum<Trends>

Enum Constant Summary

Enum Constant and Description
LOOP
Trend that involves playing frames in a loop.
ONCE
Trend that involves playing frames only once.
PING_PONG
Trend that plays frames backwards after it reaches the final frame and goes into a forward trend when it reaches the first frame and plays this way in a loop.

Method Summary

Modifier and TypeMethod and Description
public static TrendsvalueOf(String name)
public static Trendsvalues()

Methods inherited from java.lang.Enum

clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

Methods inherited from java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Enum Constant Detail

LOOP
public static final LOOP
Trend that involves playing frames in a loop.
ONCE
public static final ONCE
Trend that involves playing frames only once. Once the animation reaches the final frame, it stops at that frame.
PING_PONG
public static final PING_PONG
Trend that plays frames backwards after it reaches the final frame and goes into a forward trend when it reaches the first frame and plays this way in a loop.

Method Detail

valueOf
public static Trends valueOf(
    String name
)
values
public static Trends values()