Class WaveEffect

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

public class WaveEffect extends FEffect
Moves the text vertically in a sine wave pattern.
  • Field Details

    • distance

      public float distance
    • frequency

      public float frequency
    • intensity

      public float intensity
  • Constructor Details

    • WaveEffect

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