Class SlideEffect
java.lang.Object
com.github.tommyettinger.textra.Effect
com.github.tommyettinger.textra.effects.SlideEffect
Moves the text horizontally easing it into the final position. Doesn't repeat itself.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonApply(long glyph, int localIndex, int globalIndex, float delta)Called when this effect should be applied to the given glyph.Methods inherited from class com.github.tommyettinger.textra.Effect
apply, calculateFadeout, calculateProgress, calculateProgress, calculateProgress, getLineHeight, isFinished, paramAsBoolean, paramAsColor, paramAsFloat, update