Package tripleplay.ui

Enum Class Style.TextEffect

java.lang.Object
java.lang.Enum<Style.TextEffect>
tripleplay.ui.Style.TextEffect
All Implemented Interfaces:
Serializable, Comparable<Style.TextEffect>, java.lang.constant.Constable, Style.EffectFactory
Enclosing class:
Style<V>

public static enum Style.TextEffect extends Enum<Style.TextEffect> implements Style.EffectFactory
Defines supported text effects.
  • Enum Constant Details

    • PIXEL_OUTLINE

      public static final Style.TextEffect PIXEL_OUTLINE
      Outlines the text in the highlight color.
    • VECTOR_OUTLINE

      public static final Style.TextEffect VECTOR_OUTLINE
      Outlines the text in the highlight color.
    • SHADOW

      public static final Style.TextEffect SHADOW
      Draws a shadow below and to the right of the text in the shadow color.
    • GRADIENT

      public static final Style.TextEffect GRADIENT
      Draws a gradient from the font color to the gradient color.
    • NONE

      public static final Style.TextEffect NONE
      No text effect.
  • Method Details

    • values

      public static Style.TextEffect[] 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 Style.TextEffect 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