Class FadeEffect

java.lang.Object
arc.flabel.FEffect
arc.flabel.effects.FadeEffect

public class FadeEffect extends FEffect
Fades the text's color from between colors or alphas. Doesn't repeat itself.
  • Field Details

    • alpha1

      public float alpha1
    • alpha2

      public float alpha2
    • fadeDuration

      public float fadeDuration
  • Constructor Details

    • FadeEffect

      public FadeEffect()
  • Method Details

    • onApply

      protected void onApply(FLabel label, FGlyph glyph, int localIndex, float delta)
      Description copied from class: FEffect
      Called when this effect should be applied to the given glyph.
      Specified by:
      onApply in class FEffect