Class SpiralEffect

java.lang.Object
com.github.tommyettinger.textra.Effect
com.github.tommyettinger.textra.effects.SpiralEffect

public class SpiralEffect
extends Effect
Moves the text in a round spiral from outwards-in, easing it into the final position. Doesn't repeat itself.
  • Constructor Details

    • SpiralEffect

      public SpiralEffect​(TypingLabel label, java.lang.String[] params)
  • Method Details

    • onApply

      protected void onApply​(long glyph, int localIndex, int globalIndex, float delta)
      Description copied from class: Effect
      Called when this effect should be applied to the given glyph.
      Specified by:
      onApply in class Effect