Class KyoriGradient

java.lang.Object
me.neznamy.tab.api.chat.rgb.gradient.KyoriGradient
All Implemented Interfaces:
GradientPattern

public class KyoriGradient extends Object implements GradientPattern
Gradient applier for <gradient:#RRGGBB:#RRGGBB>Text</gradient> and <gradient:#RRGGBB|L:#RRGGBB>Text</gradient>
  • Constructor Details

    • KyoriGradient

      public KyoriGradient()
  • Method Details

    • applyPattern

      public String applyPattern(String text, boolean ignorePlaceholders)
      Description copied from interface: GradientPattern
      Applies gradients in provided text and returns text using only #RRGGBB
      Specified by:
      applyPattern in interface GradientPattern
      Parameters:
      text - text to be reformatted
      Returns:
      reformatted text