Class BlinkEffect

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

public class BlinkEffect
extends Effect
Blinks the entire text in two different colors at once, without interpolation.
  • Constructor Details

    • BlinkEffect

      public BlinkEffect​(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