Class RainbowEffect
java.lang.Object
com.github.tommyettinger.textra.Effect
com.github.tommyettinger.textra.effects.RainbowEffect
Tints the text in a rainbow pattern.
-
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