Package org.polyfrost.polyui.animate
Class Easing
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumEasing.Typepublic final classEasing.Backpublic final classEasing.Bumppublic final classEasing.Quadpublic final classEasing.Expopublic final classEasing.Sinepublic final classEasing.Cubicpublic final classEasing.Quartpublic final classEasing.Quintpublic final classEasing.Circpublic final classEasing.Elastic
-
Field Summary
Fields Modifier and Type Field Description private final Easing.Typetypeprivate final Floatrangeprivate final FloatpassedTimeprivate final BooleanisFinishedprivate final Floatvalueprivate LongdurationNanosprivate Floatfromprivate Floatto
-
Constructor Summary
Constructors Constructor Description Easing(Easing.Type type, Long durationNanos, Float start, Float end)
-
Method Summary
Modifier and Type Method Description final Easing.TypegetType()abstract FloatgetValueInOut(Float percent)abstract FloatgetValueIn(Float percent)abstract FloatgetValueOut(Float percent)-
Methods inherited from class org.polyfrost.polyui.animate.Animation
clone, getDurationNanos, getFrom, getPassedTime, getRange, getTo, getValue, isFinished, reset, reverse, setDurationNanos, setFrom, setTo, update -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Easing
Easing(Easing.Type type, Long durationNanos, Float start, Float end)
-
-
Method Detail
-
getType
final Easing.Type getType()
-
getValueInOut
abstract Float getValueInOut(Float percent)
-
getValueIn
abstract Float getValueIn(Float percent)
-
getValueOut
abstract Float getValueOut(Float percent)
-
-
-
-