Enum Class BloomMode

java.lang.Object
java.lang.Enum<BloomMode>
dev.boze.api.render.BloomMode
All Implemented Interfaces:
Serializable, Comparable<BloomMode>, Constable

public enum BloomMode extends Enum<BloomMode>
Controls how the original (un-blurred) text is shown under a bloom region (TextDrawer.bloomStart(int, float, BloomMode)).
  • Enum Constant Details

    • Off

      public static final BloomMode Off
      Only the bloom is drawn; the original text is not.
    • Keep

      public static final BloomMode Keep
      The original text plus bloom only around it (outside the text).
    • Add

      public static final BloomMode Add
      The original text plus bloom everywhere (brighter).
  • Method Details

    • values

      public static BloomMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BloomMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null