Class RainbowEffect

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

public class RainbowEffect extends FEffect
Tints the text in a rainbow pattern.
  • Field Details

    • distance

      public float distance
    • frequency

      public float frequency
    • saturation

      public float saturation
    • brightness

      public float brightness
  • Constructor Details

    • RainbowEffect

      public RainbowEffect()
  • 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