Class GradientEffect

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

public class GradientEffect extends FEffect
Tints the text in a gradient pattern.
  • Field Details

    • color1

      public Color color1
    • color2

      public Color color2
    • distance

      public float distance
    • frequency

      public float frequency
  • Constructor Details

    • GradientEffect

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