Class BlinkEffect

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

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

    • color1

      public Color color1
    • color2

      public Color color2
    • frequency

      public float frequency
    • threshold

      public float threshold
  • Constructor Details

    • BlinkEffect

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