+ +
+ +

Class OceanEffect

+
+
java.lang.Object +
com.github.tommyettinger.textra.Effect +
com.github.tommyettinger.textra.effects.OceanEffect
+
+
+
+
+
public class OceanEffect
+extends Effect
+
Tints the text in an irregular, flowing color pattern that defaults to using sea green through deep blue, but can be + changed to other colors. This can also make a decent fire effect using {OCEAN=0.7;1.25;0.11;1.0;0.65}.
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      OceanEffect

      +
      public OceanEffect​(TypingLabel label, +java.lang.String[] params)
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      onApply

      +
      protected void onApply​(long glyph, +int localIndex, +int globalIndex, +float delta)
      +
      Description copied from class: Effect
      +
      Called when this effect should be applied to the given glyph.
      +
      +
      Specified by:
      +
      onApply in class Effect
      +
      +
      +
    • +
    +
    +
  • +
+
+ +